exit.sh: fix selinux mountpoint

This commit is contained in:
Jan Kot 2021-01-14 01:44:30 +01:00
parent 96fe9e7ca9
commit 4d7c8c35e3
1 changed files with 1 additions and 1 deletions

View File

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