summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2024-10-27 11:15:21 +0100
committerMatt Caswell <matt@openssl.org>2024-10-30 12:41:55 +0100
commit4c29044a83e1926a31ebb5ab8e01fabd0c9e240a (patch)
treeae133c427a20844ff071fd65de6daadb954e1472
parentoutput negotiated TLS1.3 group (diff)
downloadopenssl-4c29044a83e1926a31ebb5ab8e01fabd0c9e240a.tar.xz
openssl-4c29044a83e1926a31ebb5ab8e01fabd0c9e240a.zip
fix: util/check-format-commit.sh - fix ending check
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)
-rwxr-xr-xutil/check-format-commit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/check-format-commit.sh b/util/check-format-commit.sh
index 5c9aef8ad9..206827dd86 100755
--- a/util/check-format-commit.sh
+++ b/util/check-format-commit.sh
@@ -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