From cca0908d9a73430fb97577fb6ae42b7416e72e6a Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Fri, 20 Dec 2019 06:11:38 -0500 Subject: [PATCH] fix --- usr/lib/security-misc/permission-hardening | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/security-misc/permission-hardening b/usr/lib/security-misc/permission-hardening index 624bd39..03eeecc 100755 --- a/usr/lib/security-misc/permission-hardening +++ b/usr/lib/security-misc/permission-hardening @@ -42,7 +42,7 @@ add_nosuid_statoverride_entry() { setguid_output="set-group-id" fi - if [ "$setguid" = "true" ] || [ "$setguid" = "true" ]; then + if [ "$setuid" = "true" ] || [ "$setguid" = "true" ]; then string_length_of_existing_mode="${#existing_mode}" if [ "$string_length_of_existing_mode" = "4" ]; then new_mode="${existing_mode:1}"