usbinstall.sh: suppress warning on iso mounted read/only
This commit is contained in:
parent
e2aeba7efc
commit
ae46a54186
@ -333,7 +333,7 @@ else
|
|||||||
set_status $"Extracting bootloader data from ISO image..."
|
set_status $"Extracting bootloader data from ISO image..."
|
||||||
echo $"Extracting bootloader data from ISO image..."
|
echo $"Extracting bootloader data from ISO image..."
|
||||||
ISOMOUNTDIR=`mktemp -d --suffix=.usbinstall`
|
ISOMOUNTDIR=`mktemp -d --suffix=.usbinstall`
|
||||||
mount -o loop $SELECT_ISO $ISOMOUNTDIR || {
|
mount -o loop,ro $SELECT_ISO $ISOMOUNTDIR || {
|
||||||
errorAndExit $"Error: unable to mount ISO image"
|
errorAndExit $"Error: unable to mount ISO image"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user