Skip to content

Commit

Permalink
pre-commit.sh: Fix logic operator
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwood committed Mar 9, 2021
1 parent 0d1a004 commit b4f876d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ RETURN_TOTAL=`expr $RETURN_TOTAL + $?`

echo "$RETURN_TOTAL checks failed!"

if [ $RETURN_TOTAL > 1 ]; then
return 1
if [ $RETURN_TOTAL -gt 0 ]; then
exit 1
fi

0 comments on commit b4f876d

Please sign in to comment.