diff --git a/functions/exit.sh b/functions/exit.sh index 675afa2de..accd9d5a6 100755 --- a/functions/exit.sh +++ b/functions/exit.sh @@ -37,7 +37,7 @@ Exit () umount ${DIRECTORY} > /dev/null 2>&1 || true done else - for DIRECTORY in /dev/shm /dev/pts /dev /proc /selinux /sys /root/config + for DIRECTORY in /dev/shm /dev/pts /dev /proc /sys/fs/selinux /sys /root/config do umount -f chroot/${DIRECTORY} > /dev/null 2>&1 || true done