Revert "mdraid: call mdadm with "--wait-clean" instead of "-W""

This reverts commit bc4ce61efc.

Read wrong man page section. Got confused by
https://github.com/dracutdevs/dracut/issues/342
master
Harald Hoyer 2018-01-05 11:02:12 +01:00
parent c9d207467c
commit d300160e70
1 changed files with 2 additions and 2 deletions

View File

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