aboutsummaryrefslogtreecommitdiff
path: root/contrib/check_linux_raid.pl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/check_linux_raid.pl')
-rw-r--r--contrib/check_linux_raid.pl1
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){
} elsif (/recovery = (.*?)\s/) {
$recovery{$device} = $1;
($finish{$device}) = /finish=(.*?min)/;
+ $device=undef;
} elsif (/^\s*$/) {
$device=undef;
}