X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=server-src%2Famoverview.pl;h=0dc5fc1ef98841073401f97e4a31df0497deaefc;hb=1bb8b17cbd322ed6ab506918446390678b792738;hp=35594e4eaf85b4ed033239cffb13e5ee40320547;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;p=debian%2Famanda diff --git a/server-src/amoverview.pl b/server-src/amoverview.pl index 35594e4..0dc5fc1 100644 --- a/server-src/amoverview.pl +++ b/server-src/amoverview.pl @@ -104,7 +104,7 @@ my $dlfh = new FileHandle "$amadmin $opt_config disklist|" or die "$0: error in opening `$amadmin $opt_config disklist' pipe: $!\n"; $/ = ""; while (<$dlfh>) { - ($host, $disk) = m/ host (.*?):.* disk (.*?):.*strategy (STANDARD|NOFULL|NOINC|HANOI|INCRONLY).*ignore NO/s; + ($host, $disk) = m/ host (.*?):\n.* disk (.*?):\n.*strategy (STANDARD|NOFULL|NOINC|HANOI|INCRONLY).*ignore NO/ms; next unless $host; $disks{$host}{$disk}++; }