This commit is contained in:
Patrick Schleizer 2023-05-05 14:51:19 +00:00
parent 89168ef40c
commit 9184e6bb92
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -21,8 +21,8 @@ if ! test -d /etc/sysctl.d ; then
exit_with_error
fi
if ! test -w /etc/sysctl.d/30_security-misc_aslr-mmap.conf ; then
echo "$0: ERROR: File /etc/sysctl.d/30_security-misc_aslr-mmap.conf not writeable! This script is supposed to be run as root." >&2
if ! test -w /etc/sysctl.d ; then
echo "$0: ERROR: Folder /etc/sysctl.d not writeable! This script is supposed to be run as root." >&2
exit_with_error
fi