dmraid: parse different error messages

master
Harald Hoyer 2010-04-13 12:54:12 +02:00
parent d1bae3cd17
commit d693f34afb
1 changed files with 1 additions and 1 deletions

View File

@ -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