Skip to content

Commit 97bb0a8

Browse files
authored
Merge pull request #1498 from tlaurion/oem-factory-reset_fix-mount-usb
oem-factory-reset: fix call to mount-usb --mode rw
2 parents 35f3b22 + cba8c45 commit 97bb0a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

initrd/bin/oem-factory-reset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ if [ "$prompt_output" == "y" \
589589
# mount USB over /media only if not already mounted
590590
if ! grep -q /media /proc/mounts ; then
591591
# mount USB in rw
592-
if ! mount-usb -mode rw 2>/tmp/error; then
592+
if ! mount-usb --mode rw 2>/tmp/error; then
593593
ERROR=$(tail -n 1 /tmp/error | fold -s)
594594
whiptail_error_die "Unable to mount USB on /media:\n\n${ERROR}"
595595
fi

0 commit comments

Comments
 (0)