From 4f76867da6ce5710cf486175cd84adcd72640049 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Mon, 23 Dec 2019 01:08:02 -0500 Subject: [PATCH] lower debugging --- usr/lib/security-misc/permission-hardening | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr/lib/security-misc/permission-hardening b/usr/lib/security-misc/permission-hardening index 8dfcd83..f653599 100755 --- a/usr/lib/security-misc/permission-hardening +++ b/usr/lib/security-misc/permission-hardening @@ -40,8 +40,7 @@ echo_wrapper_audit() { } echo_wrapper_silent_audit() { - ## TODO: remove echo - echo "run (debugging): $@" + #echo "run (debugging): $@" return_code=0 "$@" || \ { \ @@ -52,7 +51,7 @@ echo_wrapper_silent_audit() { } sanity_tests() { - echo_wrapper_audit which \ + echo_wrapper_silent_audit which \ capsh getcap setcap stat find dpkg-statoverride getent xargs grep }