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
parent
c9d207467c
commit
d300160e70
|
|
@ -13,12 +13,12 @@ if getargbool 0 rd.md.waitclean; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
info "Waiting for $md to become clean"
|
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
|
done
|
||||||
|
|
||||||
for md in $containers; do
|
for md in $containers; do
|
||||||
info "Waiting for $md to become clean"
|
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
|
done
|
||||||
|
|
||||||
unset containers udevinfo _offroot
|
unset containers udevinfo _offroot
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue