]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Revert "mdraid: call mdadm with "--wait-clean" instead of "-W""
authorHarald Hoyer <harald@redhat.com>
Fri, 5 Jan 2018 10:02:12 +0000 (11:02 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 5 Jan 2018 10:02:12 +0000 (11:02 +0100)
This reverts commit bc4ce61efce3e2d8b2be4f4e3e5fdef6ca08409f.

Read wrong man page section. Got confused by
https://github.com/dracutdevs/dracut/issues/342

modules.d/90mdraid/mdraid-waitclean.sh

index d7f0ffdbb075647423e42432b6cb529fb074fb3c..5c901982d8364640e301f9f7041c54624ac72b3a 100755 (executable)
@@ -13,12 +13,12 @@ if getargbool 0 rd.md.waitclean; then
             continue
         fi
         info "Waiting for $md to become clean"
-        mdadm $_offroot --wait-clean "$md" >/dev/null 2>&1
+        mdadm $_offroot -W "$md" >/dev/null 2>&1
     done
 
     for md in $containers; do
         info "Waiting for $md to become clean"
-        mdadm $_offroot --wait-clean "$md" >/dev/null 2>&1
+        mdadm $_offroot -W "$md" >/dev/null 2>&1
     done
 
     unset containers udevinfo _offroot