X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=server-src%2Famoverview.pl;h=0dc5fc1ef98841073401f97e4a31df0497deaefc;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=35594e4eaf85b4ed033239cffb13e5ee40320547;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;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}++; }