diff options
Diffstat (limited to 'contrib/check_linux_raid.pl')
-rw-r--r-- | contrib/check_linux_raid.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/check_linux_raid.pl b/contrib/check_linux_raid.pl index c7c9c55e..d2e5b463 100644 --- a/contrib/check_linux_raid.pl +++ b/contrib/check_linux_raid.pl | |||
@@ -64,6 +64,7 @@ while(defined $nextdev){ | |||
64 | } elsif (/recovery = (.*?)\s/) { | 64 | } elsif (/recovery = (.*?)\s/) { |
65 | $recovery{$device} = $1; | 65 | $recovery{$device} = $1; |
66 | ($finish{$device}) = /finish=(.*?min)/; | 66 | ($finish{$device}) = /finish=(.*?min)/; |
67 | $device=undef; | ||
67 | } elsif (/^\s*$/) { | 68 | } elsif (/^\s*$/) { |
68 | $device=undef; | 69 | $device=undef; |
69 | } | 70 | } |