From d5c99f3a60372a00ded4b1b4340775aab1421d31 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sun, 29 Dec 2019 04:27:21 -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 1b43ed2..8ae7344 100755 --- a/usr/lib/security-misc/permission-hardening +++ b/usr/lib/security-misc/permission-hardening @@ -246,7 +246,7 @@ set_file_perms() { true "OK line contains only white listed characters." else exit_code=200 - echo "ERROR: cannot parse line with invalid character: $line" >&2 + echo "ERROR: cannot parse line with invalid character. line: '$line'" >&2 continue fi @@ -254,7 +254,7 @@ set_file_perms() { local mode_from_config owner_from_config group_from_config capability_from_config if ! read -r fso mode_from_config owner_from_config group_from_config capability_from_config <<< "$line" ; then exit_code=201 - echo "ERROR: cannot parse line: $line" >&2 + echo "ERROR: cannot parse. line: '$line'" >&2 continue fi