exit.sh: fix selinux mountpoint
This commit is contained in:
parent
96fe9e7ca9
commit
4d7c8c35e3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue