mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 21:17:55 +00:00
Merge pull request #1498 from tlaurion/oem-factory-reset_fix-mount-usb
oem-factory-reset: fix call to mount-usb --mode rw
This commit is contained in:
commit
97bb0a82cb
@ -589,7 +589,7 @@ if [ "$prompt_output" == "y" \
|
||||
# mount USB over /media only if not already mounted
|
||||
if ! grep -q /media /proc/mounts ; then
|
||||
# mount USB in rw
|
||||
if ! mount-usb -mode rw 2>/tmp/error; then
|
||||
if ! mount-usb --mode rw 2>/tmp/error; then
|
||||
ERROR=$(tail -n 1 /tmp/error | fold -s)
|
||||
whiptail_error_die "Unable to mount USB on /media:\n\n${ERROR}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user