From 6f0551b944cbf83d82f7a1a554c4461bc971520b Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Fri, 26 Jul 2024 08:23:54 -0400 Subject: [PATCH] refactoring --- usr/bin/permission-hardener | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/bin/permission-hardener b/usr/bin/permission-hardener index 34ba038..d84fd6e 100755 --- a/usr/bin/permission-hardener +++ b/usr/bin/permission-hardener @@ -123,7 +123,8 @@ File name from stat: '${file_name_from_stat}'" >&2 sanity_tests() { echo_wrapper_audit silent \ - which capsh getcap setcap stat find dpkg-statoverride getent xargs grep 1>/dev/null + which \ + capsh getcap setcap stat find dpkg-statoverride getent xargs grep 1>/dev/null } add_nosuid_statoverride_entry() {