mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-24 18:07:20 +00:00
Correct regexp to accept list with dashes etc. in the name
This commit is contained in:
parent
78c9d0c886
commit
b8e09a39b7
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ my $list_members = "/usr/sbin/list_members";
|
|||
open(LL, "$list_lists|") or exit 4;
|
||||
while (<LL>)
|
||||
{
|
||||
($list, $desc) = (/\s+(\w+)\s-\s(.*)$/);
|
||||
($list, $desc) = (/^\s+(.*?)\s-\s(.*)$/);
|
||||
$lists{$list} = $desc if ($list);
|
||||
}
|
||||
close(LL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue