From 93eee4c86c6ee607fdc48174f5158202632fd74d Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Sat, 15 Jan 2005 05:17:57 +0000 Subject: [PATCH] fix cleanup so it exits OK. --- livecd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }