mdadm: Report rebuilding if status is resync

This commit is contained in:
Daniel Berteaud 2015-04-15 18:02:06 +02:00
parent 124782c8d6
commit 79dc37ac3a

View File

@ -101,7 +101,7 @@ while (<FILE>) {
else {
$status{$dev} = "Optimal";
}
if (/recovery/){
if (/recovery|resync/){
$status{$dev} = "Rebuilding";
if ($result eq "OK"){
$result = "WARNING";