do not fail if losetup -d does not find a device

ubuntu/precise
Oliver Grawert 15 years ago
parent 7c2c56dc7d
commit bfe1f1f3f6

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (1.142) UNRELEASED; urgency=low
* do not fail if losetup -d does not find a device
-- Oliver Grawert <ogra@ubuntu.com> Fri, 23 Jul 2010 10:38:16 +0200
livecd-rootfs (1.141) maverick; urgency=low livecd-rootfs (1.141) maverick; urgency=low
* add some debug output to teh ext2 image creation to see whats going on * add some debug output to teh ext2 image creation to see whats going on

@ -102,7 +102,7 @@ livefs_ext2()
# clean up # clean up
umount ${MOUNTPOINT} umount ${MOUNTPOINT}
rm -rf ${MOUNTPOINT} rm -rf ${MOUNTPOINT}
losetup -d $DEV losetup -d $DEV || true
chmod 644 livecd.${FSS}.ext2 chmod 644 livecd.${FSS}.ext2
} }

Loading…
Cancel
Save