summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kot <janymalino@gmail.com>2021-01-14 01:44:30 +0100
committerJan Kot <janymalino@gmail.com>2021-01-14 01:44:30 +0100
commit4d7c8c35e3df4a1d8b3000a18acf8019fcee266e (patch)
tree2aa74df73d17889cbb0ce99a563482fecb0d78bf
parent96fe9e7ca979c768986948d8314479140e7fa63b (diff)
downloadvyos-live-build-4d7c8c35e3df4a1d8b3000a18acf8019fcee266e.tar.gz
vyos-live-build-4d7c8c35e3df4a1d8b3000a18acf8019fcee266e.zip
exit.sh: fix selinux mountpoint
-rwxr-xr-xfunctions/exit.sh2
1 files changed, 1 insertions, 1 deletions
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