Imported Upstream version 1.4.15
This commit is contained in:
parent
882cdeecca
commit
047baae1ca
386 changed files with 60019 additions and 38317 deletions
|
@ -44,7 +44,7 @@ sub max_state($$){
|
|||
|
||||
my $nextdev;
|
||||
if(defined $ARGV[0]) { $nextdev = shift; }
|
||||
else { $nextdev = "md[0-9]"; }
|
||||
else { $nextdev = "md[0-9]+"; }
|
||||
|
||||
my $code = "UNKNOWN";
|
||||
my $msg = "";
|
||||
|
@ -64,6 +64,7 @@ while(defined $nextdev){
|
|||
} elsif (/recovery = (.*?)\s/) {
|
||||
$recovery{$device} = $1;
|
||||
($finish{$device}) = /finish=(.*?min)/;
|
||||
$device=undef;
|
||||
} elsif (/^\s*$/) {
|
||||
$device=undef;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue