Skip to content

Commit 4d7c8c3

Browse files
committed
exit.sh: fix selinux mountpoint
1 parent 96fe9e7 commit 4d7c8c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/exit.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Exit ()
3737
umount ${DIRECTORY} > /dev/null 2>&1 || true
3838
done
3939
else
40-
for DIRECTORY in /dev/shm /dev/pts /dev /proc /selinux /sys /root/config
40+
for DIRECTORY in /dev/shm /dev/pts /dev /proc /sys/fs/selinux /sys /root/config
4141
do
4242
umount -f chroot/${DIRECTORY} > /dev/null 2>&1 || true
4343
done

0 commit comments

Comments
 (0)