]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dmraid: parse different error messages
authorHarald Hoyer <harald@redhat.com>
Tue, 13 Apr 2010 10:54:12 +0000 (12:54 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 13 Apr 2010 10:54:12 +0000 (12:54 +0200)
modules.d/90dmraid/dmraid.sh

index 4e47e2d86b2c45af5980e24227d6fdb772ee604b..dba655b994b3d237e526ccc66504fed98e3978b1 100755 (executable)
@@ -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