From: Michael Tremer Date: Sat, 11 Mar 2023 13:23:04 +0000 (+0000) Subject: file: Show error when the hardening check fails X-Git-Tag: 0.9.29~329 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dbb8605ea753f0c0721e059ab4c071d796dc2f0;p=pakfire.git file: Show error when the hardening check fails Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/build.c b/src/libpakfire/build.c index ece4b3136..b2bfcfafc 100644 --- a/src/libpakfire/build.c +++ b/src/libpakfire/build.c @@ -1150,8 +1150,11 @@ static int __pakfire_build_post_check_hardening( // Check hardening r = pakfire_file_check_hardening(file, &issues); - if (r) + if (r) { + ERROR(pakfire, "%s: Hardening Check failed: %m\n", + pakfire_file_get_path(file)); return r; + } // If any issues have been found, consider this file to be on the list if (issues) {