From 1e11b775cf1d2994f2e0da8d0191ef38eebe21a8 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Fri, 20 Dec 2019 11:05:05 -0500 Subject: [PATCH] output --- usr/lib/security-misc/permission-hardening | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr/lib/security-misc/permission-hardening b/usr/lib/security-misc/permission-hardening index 1b4b5bd..8dba0b0 100755 --- a/usr/lib/security-misc/permission-hardening +++ b/usr/lib/security-misc/permission-hardening @@ -262,4 +262,8 @@ parse_config_folder() { parse_config_folder +if [ ! "$exit_code" = "0" ]; then + echo "ERROR: Will exist with non-zero exit code: '$exit_code'" >&2 +fi + exit "$exit_code"