fix remount with noexec if /etc/noexec exists

This commit is contained in:
Patrick Schleizer 2019-12-06 11:15:13 -05:00
parent bff425fec2
commit 4bec41379d
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -23,7 +23,6 @@ fi
if [ -e /etc/noexec ]; then
noexec=true
echo "$0: Will remount with noexec."
exit 0
fi
mkdir --parents "/var/run/remount-secure"