dmraid: parse different error messages
parent
d1bae3cd17
commit
d693f34afb
|
@ -10,7 +10,7 @@ DM_CLEANUP="no"
|
|||
info "Scanning for dmraid devices $DM_RAIDS"
|
||||
SETS=$(dmraid -c -s)
|
||||
|
||||
if [ "$SETS" = "no raid disks" ]; then
|
||||
if [ "$SETS" = "no raid disks" -o "$SETS" = "no raid sets" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue