Fix a minor losetup usage bug

pull/1/head mm_f51e3a09
M. Vefa Bicakci 8 years ago
parent a5f018da1a
commit f51e3a09fe
No known key found for this signature in database
GPG Key ID: 1DF87CE3B3A5DFAF

@ -18,7 +18,7 @@ mkdir -p mnt
MNTDIR=$(pwd)/mnt
LOOP=$(/sbin/losetup -f -s -o $OFFSET $ROOTIMG)
LOOP=$(/sbin/losetup -f --show -o $OFFSET $ROOTIMG)
if [ x$LOOP = x ] ; then
echo "Cannot setup loopback device for the $ROOTIMG file -- perhaps a permissions problem?"

Loading…
Cancel
Save