]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
fix: util/check-format-commit.sh - fix ending check
authorRichard Levitte <levitte@openssl.org>
Sun, 27 Oct 2024 10:15:21 +0000 (11:15 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 30 Oct 2024 11:41:55 +0000 (11:41 +0000)
Look at the end result instead of the file name it's stored in

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25810)

util/check-format-commit.sh

index 5c9aef8ad961f1fb01168125c8ef7a1fd99f2eb0..206827dd8669a34480ff3a736127bf86bb30e6b4 100755 (executable)
@@ -164,7 +164,7 @@ done
 cat $TEMPDIR/results-filtered.txt
 
 # If any findings were in range, exit with a different error code
-if [ -n $TEMPDIR/results-filtered.txt ]
+if [ -s $TEMPDIR/results-filtered.txt ]
 then
     exit 2
 fi