diff options
author | Niko Tyni <ntyni@iki.fi> | 2005-12-11 08:44:12 +0100 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2005-12-11 08:44:12 +0100 |
commit | c1ac0cbb380212efff08eda78af5cbe5e18c5935 (patch) | |
tree | c4049f3aa5c0a8b4397ceffd7397d5e96d28eeed /lib/Config | |
parent | 4bb9e387247d11ba4c842c4f6490d0e210615d2b (diff) | |
download | smokeping-c1ac0cbb380212efff08eda78af5cbe5e18c5935.tar.gz smokeping-c1ac0cbb380212efff08eda78af5cbe5e18c5935.tar.xz |
* brought trunk/ up to date
Diffstat (limited to 'lib/Config')
-rw-r--r-- | lib/Config/Grammar.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Config/Grammar.pm b/lib/Config/Grammar.pm index bd3deea..835b12b 100644 --- a/lib/Config/Grammar.pm +++ b/lib/Config/Grammar.pm @@ -316,7 +316,7 @@ sub _prev_level($) # section name if (defined $self->{section}) { if ($self->{section} =~ /\//) { - $self->{section} =~ s/\/.*?$//; + $self->{section} =~ s,/[^/]*$,,; } else { $self->{section} = undef; |