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; }