summaryrefslogtreecommitdiff
path: root/functions/exit.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-21 08:40:03 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:09 +0100
commit34798918306e7aa5d080e274a5d58c8b5fa983e8 (patch)
tree469ebca21e91e1045906659d93ec50004722939b /functions/exit.sh
parent8424ad261b3a6afb79b2e1e7a375733ceadd83b0 (diff)
downloadvyos-live-build-34798918306e7aa5d080e274a5d58c8b5fa983e8.tar.gz
vyos-live-build-34798918306e7aa5d080e274a5d58c8b5fa983e8.zip
Also (try) unmounting /dev/shm in exit function.
Diffstat (limited to 'functions/exit.sh')
-rwxr-xr-xfunctions/exit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/exit.sh b/functions/exit.sh
index b32fd00f5..338f28516 100755
--- a/functions/exit.sh
+++ b/functions/exit.sh
@@ -28,7 +28,7 @@ Exit ()
umount ${DIRECTORY} > /dev/null 2>&1 || true
done
else
- for DIRECTORY in /dev/pts /dev /proc /selinux /sys
+ for DIRECTORY in /dev/shm /dev/pts /dev /proc /selinux /sys
do
umount -f chroot/${DIRECTORY} > /dev/null 2>&1 || true
done