diff options
Diffstat (limited to 'contrib')
-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 da1aff8..c7c9c55 100644 --- a/contrib/check_linux_raid.pl +++ b/contrib/check_linux_raid.pl | |||
@@ -44,7 +44,7 @@ sub max_state($$){ | |||
44 | 44 | ||
45 | my $nextdev; | 45 | my $nextdev; |
46 | if(defined $ARGV[0]) { $nextdev = shift; } | 46 | if(defined $ARGV[0]) { $nextdev = shift; } |
47 | else { $nextdev = "md[0-9]"; } | 47 | else { $nextdev = "md[0-9]+"; } |
48 | 48 | ||
49 | my $code = "UNKNOWN"; | 49 | my $code = "UNKNOWN"; |
50 | my $msg = ""; | 50 | my $msg = ""; |