From 4f12664362fb4304ed43185ed5805f686bdeb0af Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 21 Dec 2019 05:54:07 -0500 Subject: [PATCH] output --- usr/lib/security-misc/permission-hardening | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/security-misc/permission-hardening b/usr/lib/security-misc/permission-hardening index efc20b5..26490f0 100755 --- a/usr/lib/security-misc/permission-hardening +++ b/usr/lib/security-misc/permission-hardening @@ -29,7 +29,7 @@ echo_wrapper_audit() { { \ return_code="$?" ; \ exit_code=203 ; \ - echo "ERROR: above command failed with exit code '$return_code'!" >&2 ; \ + echo "ERROR: above command failed with exit code '$return_code'! calling function name: '${FUNCNAME[1]}'" >&2 ; \ }; } @@ -41,7 +41,7 @@ echo_wrapper_silent_audit() { { \ return_code="$?" ; \ exit_code=204 ; \ - echo "ERROR: above command '$@' failed with exit code '$return_code'!" >&2 ; \ + echo "ERROR: above command '$@' failed with exit code '$return_code'! calling function name: '${FUNCNAME[1]}'" >&2 ; \ }; }