From 9184e6bb921a9c7356e8d2c7216a1da91f963304 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Fri, 5 May 2023 14:51:19 +0000 Subject: [PATCH] fix --- usr/libexec/security-misc/mmap-rnd-bits | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/libexec/security-misc/mmap-rnd-bits b/usr/libexec/security-misc/mmap-rnd-bits index e142281..76860e8 100755 --- a/usr/libexec/security-misc/mmap-rnd-bits +++ b/usr/libexec/security-misc/mmap-rnd-bits @@ -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