summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 701a0df..f3f82d7 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -205,6 +205,9 @@ cleanup() {
# Clean up by unmounting our loopmounts, deleting tempfiles:
echo "--- Cleaning up the staging area..."
sync
+ umount ${LIVE_ROOTDIR}/sys 2>${DBGOUT} || true
+ umount ${LIVE_ROOTDIR}/proc 2>${DBGOUT} || true
+ umount ${LIVE_ROOTDIR}/dev 2>${DBGOUT} || true
umount ${LIVE_ROOTDIR} 2>${DBGOUT} || true
# Need to umount the squashfs modules too:
umount ${LIVE_WORK}/*_$$ 2>${DBGOUT} || true