Skip to content

Commit

Permalink
fix: util/check-format-commit.sh - fix ending check
Browse files Browse the repository at this point in the history
Look at the end result instead of the file name it's stored in

Reviewed-by: Tom Cosgrove <[email protected]>
Reviewed-by: Saša Nedvědický <[email protected]>
Reviewed-by: Matt Caswell <[email protected]>
(Merged from openssl#25810)
  • Loading branch information
levitte authored and mattcaswell committed Oct 30, 2024
1 parent 280c1d0 commit 4c29044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/check-format-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4c29044

Please sign in to comment.