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

seems like -W changed meanings over the years :-/
master
Harald Hoyer 2018-01-02 14:58:14 +01:00
parent 8134db6c33
commit bc4ce61efc
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 -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