mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-12 17:00:32 +07:00
fix remount with noexec if /etc/noexec exists
This commit is contained in:
@ -23,7 +23,6 @@ fi
|
|||||||
if [ -e /etc/noexec ]; then
|
if [ -e /etc/noexec ]; then
|
||||||
noexec=true
|
noexec=true
|
||||||
echo "$0: Will remount with noexec."
|
echo "$0: Will remount with noexec."
|
||||||
exit 0
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir --parents "/var/run/remount-secure"
|
mkdir --parents "/var/run/remount-secure"
|
||||||
|
Reference in New Issue
Block a user