X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=f6de36bbe881c812c4db402ce6b92089f8237874;hp=1c60bf46d6126bc090ac43d2a7f8aaac42c24c95;hb=0844fd956f409197b47b3d263ddc54c310cf892b;hpb=8463f68fd13aa54a76d31f3883d7c38d5adfb8cf diff --git a/grml-debootstrap b/grml-debootstrap index 1c60bf4..f6de36b 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -994,6 +994,12 @@ done # }}} # finalize {{{ +if [ -n "$ISODIR" ] ; then + einfo "Unmounting Debian image loopback from $MNTPOINT/$ISODIR." + umount "$MNTPOINT/$ISODIR" + eend $? +fi + einfo "Removing ${CHROOT_VARIABLES}" ; rm "$CHROOT_VARIABLES" ; eend $? einfo "Removing ${STAGES}" ; rmdir "$STAGES" ; eend $?