diff --git a/usr/lib/security-misc/permission-hardening b/usr/lib/security-misc/permission-hardening index 9dc381f..6ab8b36 100755 --- a/usr/lib/security-misc/permission-hardening +++ b/usr/lib/security-misc/permission-hardening @@ -394,6 +394,7 @@ set_file_perms() { echo_wrapper_ignore setcap -r "$fso" getcap_output="$(getcap "$fso")" if [ ! "$getcap_output" = "" ]; then + exit_code=205 echo "ERROR: removing capabilities for fso '$fso' failed!" >&2 continue fi