From: Richard Levitte Date: Sun, 27 Oct 2024 10:15:21 +0000 (+0100) Subject: fix: util/check-format-commit.sh - fix ending check X-Git-Tag: openssl-3.5.0-alpha1~958 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c29044a83e1926a31ebb5ab8e01fabd0c9e240a;p=thirdparty%2Fopenssl.git 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 Reviewed-by: Saša Nedvědický Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/25810) --- diff --git a/util/check-format-commit.sh b/util/check-format-commit.sh index 5c9aef8ad96..206827dd866 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