]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
mdraid/parse-md.sh: fixed commit cc4037d12012244b51a1efecdeb121184efe6f67
authorHarald Hoyer <harald@redhat.com>
Thu, 6 Sep 2012 14:16:31 +0000 (16:16 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 6 Sep 2012 14:16:31 +0000 (16:16 +0200)
my fault, sorry.

modules.d/90mdraid/parse-md.sh

index 5c50b4c5cec3493f5411d96164c2d6204c6abf73..69d58f874361ea880d3e46062e102ad20d3941c2 100755 (executable)
@@ -4,7 +4,7 @@
 
 MD_UUID=$(getargs rd.md.uuid -d rd_MD_UUID=)
 
-if ! [ -n "$MD_UUID" ] || ! getargbool 1 rd.md -d -n rd_NO_MD; then
+if ! [ -n "$MD_UUID" ] && ! getargbool 1 rd.md -d -n rd_NO_MD; then
     info "rd.md=0: removing MD RAID activation"
     udevproperty rd_NO_MD=1
 else