usbinstall.sh: suppress warning on iso mounted read/only

This commit is contained in:
Silvan Calarco 2016-07-08 16:26:30 +02:00
parent e2aeba7efc
commit ae46a54186
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
VERSION=1.1 VERSION=1.2

View File

@ -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"
} }