diff --git a/livecd.sh b/livecd.sh index 65b1460b..248b0497 100755 --- a/livecd.sh +++ b/livecd.sh @@ -11,7 +11,7 @@ cleanup() { umount $mnt || true done - [ -n "$DEV" ] && losetup -d $DEV + [ -n "$DEV" ] && losetup -d $DEV || true grep ${ROOT} /proc/mounts && return 1 || return 0 }