summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2008-10-19 16:02:28 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:43 +0100
commitf2d0d81ad090f04f26845f8d26ca5badf3c7d41a (patch)
tree575919b6566e69805f3e2ff706e3b2e26b9de662 /functions
parent4c485f18532068ba271ef4fa1a84bb465f1d9a29 (diff)
downloadlive-build-f2d0d81ad090f04f26845f8d26ca5badf3c7d41a.zip
live-build-f2d0d81ad090f04f26845f8d26ca5badf3c7d41a.tar.gz
Print message when Exit is called.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/exit.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions/exit.sh b/functions/exit.sh
index 47b88a7..8a79460 100755
--- a/functions/exit.sh
+++ b/functions/exit.sh
@@ -19,6 +19,7 @@ Exit ()
# Always exit true in case we are not able to unmount
# (e.g. due to running processes in chroot from user customizations)
+ Echo_message "Begin unmounting filesystems..."
umount chroot/dev/pts > /dev/null 2>&1 || true
umount chroot/proc > /dev/null 2>&1 || true
umount chroot/selinux > /dev/null 2>&1 || true