rootfs-block/mount-root.sh: fixup for 8b6bf0ef5
not only fix the warning message, but the real mount arguments, toomaster
parent
66f01450a8
commit
ae4758ce0d
|
|
@ -26,9 +26,10 @@ mount_root() {
|
|||
fi
|
||||
|
||||
_rflags_ro="$rflags,ro"
|
||||
_rflags_ro="${_rflags_ro##,}"
|
||||
|
||||
while ! mount -t ${rootfs} -o "$_rflags_ro" "${root#block:}" "$NEWROOT"; do
|
||||
warn "Failed to mount -t ${rootfs} -o ${_rflags_ro##,} ${root#block:} $NEWROOT"
|
||||
warn "Failed to mount -t ${rootfs} -o $_rflags_ro ${root#block:} $NEWROOT"
|
||||
fsck_ask_err
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue