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.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/check_linux_raid.pl b/contrib/check_linux_raid.pl
index 77e75f6d..c24b0cd2 100644
--- a/contrib/check_linux_raid.pl
+++ b/contrib/check_linux_raid.pl
@@ -61,7 +61,7 @@ while(defined $nextdev){
if (defined $device) {
if (/(\[[_U]+\])/) {
$status{$device} = $1;
- } elsif (/recovery = (.*?)\s/) {
+ } elsif (/recovery =\s+(.*?)\s/) {
$recovery{$device} = $1;
($finish{$device}) = /finish=(.*?min)/;
$device=undef;