From bfe1f1f3f66298973ae0d5e98416117a6a4a8fd2 Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Fri, 23 Jul 2010 10:39:13 +0200 Subject: [PATCH] do not fail if losetup -d does not find a device --- debian/changelog | 6 ++++++ livecd.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 49611d00..ff4d5e38 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (1.142) UNRELEASED; urgency=low + + * do not fail if losetup -d does not find a device + + -- Oliver Grawert Fri, 23 Jul 2010 10:38:16 +0200 + livecd-rootfs (1.141) maverick; urgency=low * add some debug output to teh ext2 image creation to see whats going on diff --git a/livecd.sh b/livecd.sh index 3d8a61a8..c8b9d2ab 100755 --- a/livecd.sh +++ b/livecd.sh @@ -102,7 +102,7 @@ livefs_ext2() # clean up umount ${MOUNTPOINT} rm -rf ${MOUNTPOINT} - losetup -d $DEV + losetup -d $DEV || true chmod 644 livecd.${FSS}.ext2 }