mdraid: call mdadm with "--wait-clean" instead of "-W"
seems like -W changed meanings over the years :-/master
parent
8134db6c33
commit
bc4ce61efc
|
|
@ -13,12 +13,12 @@ if getargbool 0 rd.md.waitclean; then
|
|||
continue
|
||||
fi
|
||||
info "Waiting for $md to become clean"
|
||||
mdadm $_offroot -W "$md" >/dev/null 2>&1
|
||||
mdadm $_offroot --wait-clean "$md" >/dev/null 2>&1
|
||||
done
|
||||
|
||||
for md in $containers; do
|
||||
info "Waiting for $md to become clean"
|
||||
mdadm $_offroot -W "$md" >/dev/null 2>&1
|
||||
mdadm $_offroot --wait-clean "$md" >/dev/null 2>&1
|
||||
done
|
||||
|
||||
unset containers udevinfo _offroot
|
||||
|
|
|
|||
Loading…
Reference in New Issue