From f767d9803765f764f256bba0277ea9dd87bee0e2 Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 5 Dec 2022 19:07:01 +0100 Subject: [PATCH] Please work --- tools/check-formatting.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check-formatting.sh b/tools/check-formatting.sh index 5e5699d5..9be40812 100755 --- a/tools/check-formatting.sh +++ b/tools/check-formatting.sh @@ -14,7 +14,7 @@ for f in ${SOURCES[@]} do clang-format -n $f 2>&1 | grep -q ^ RESULT=$? - if [ "$RESULT" = "0" ] + if [ "$RESULT" -eq "0" ] then echo "File $f needs formatting" ALL_OK=0