From b31abea0af60874d4a48fd0da56978b0081eaef8 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Fri, 20 Dec 2019 10:49:31 -0500 Subject: [PATCH] improve error handling --- 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 014dd1c..478a1dc 100755 --- a/usr/lib/security-misc/permission-hardening +++ b/usr/lib/security-misc/permission-hardening @@ -13,7 +13,7 @@ exit_code=0 echo_wrapper() { echo "run: $@" - "$@" + "$@" || echo "ERROR: above command failed!" >&2 } add_nosuid_statoverride_entry() {