fix cleanup so it exits OK.

ubuntu/precise
LaMont Jones 20 years ago
parent 1aeca3e7b7
commit 93eee4c86c

@ -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
}

Loading…
Cancel
Save