Also (try) unmounting /dev/shm in exit function.

This commit is contained in:
Daniel Baumann 2010-05-21 08:40:03 +02:00
parent b5dcada385
commit 7b0ae09852
1 changed files with 1 additions and 1 deletions

View File

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