mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
fix remount with noexec if /etc/noexec exists
This commit is contained in:
parent
bff425fec2
commit
4bec41379d
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user