correctly report exit code in clangify (#3520)
This commit is contained in:
parent
1ace060e34
commit
37f9f62f03
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ done
|
|||
if [[ $CHECK_FORMAT ]]; then
|
||||
echo "Checking your code using clang-format..."
|
||||
diff="$(./clangify.sh --diff --cf-version)"
|
||||
ok=$?
|
||||
case $ok in
|
||||
err=$?
|
||||
case $err in
|
||||
1)
|
||||
cat <<EOM
|
||||
***********************************************************
|
||||
|
|
Loading…
Reference in a new issue