]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Clarify that no output means no flags are missing.
[blhc/blhc.git] / bin / blhc
index 94ceb6f01f806ee64db5f6878dcb163e39508214..21681109a1bbf4d4f15823affa949aa32342f295 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -754,7 +754,8 @@ foreach my $file (@ARGV) {
 
             # Check if additional hardening options were used. Used to ensure
             # they are used for the complete build.
-            $harden_pie     = 1 if any_flags_used($line, @def_cflags_pie, @def_ldflags_pie);
+            $harden_pie     = 1 if any_flags_used($line, @def_cflags_pie,
+                                                         @def_ldflags_pie);
             $harden_bindnow = 1 if any_flags_used($line, @def_ldflags_bindnow);
 
             push @input, $line;
@@ -1073,6 +1074,8 @@ It's designed to check build logs generated by Debian's dpkg-buildpackage (or
 tools using dpkg-buildpackage like pbuilder or the official buildd build logs)
 to help maintainers detect missing hardening flags in their packages.
 
+If there's no output, no flags are missing and the build log is fine.
+
 =head1 OPTIONS
 
 =over 8
@@ -1174,6 +1177,8 @@ Normal usage, parse a single log file.
 
     blhc path/to/log/file
 
+If there's no output, no flags are missing and the build log is fine.
+
 Parse multiple log files. The exit code is ORed over all files.
 
     blhc path/to/directory/with/log/files/*