diff options
-rw-r--r-- | contrib/check_linux_raid.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/check_linux_raid.pl b/contrib/check_linux_raid.pl index 77e75f6..c24b0cd 100644 --- a/contrib/check_linux_raid.pl +++ b/contrib/check_linux_raid.pl | |||
@@ -61,7 +61,7 @@ while(defined $nextdev){ | |||
61 | if (defined $device) { | 61 | if (defined $device) { |
62 | if (/(\[[_U]+\])/) { | 62 | if (/(\[[_U]+\])/) { |
63 | $status{$device} = $1; | 63 | $status{$device} = $1; |
64 | } elsif (/recovery = (.*?)\s/) { | 64 | } elsif (/recovery =\s+(.*?)\s/) { |
65 | $recovery{$device} = $1; | 65 | $recovery{$device} = $1; |
66 | ($finish{$device}) = /finish=(.*?min)/; | 66 | ($finish{$device}) = /finish=(.*?min)/; |
67 | $device=undef; | 67 | $device=undef; |