Tools: fix style consistency in shell scripts "if [...]; then"

This commit is contained in:
Matthias Grob authored and Daniel Agar committed 2019-02-24 11:20:38 -05:00
1 parent c21849b9b5
commit bee1835831
9 files changed
+38 -75

No files matched your search

+1 -2
View File
@@ -48,8 +48,7 @@ fi
# If there are whitespace errors, print the offending file names and fail.
git diff-index --check --cached $against --
if [ $? -ne 0 ]
then
if [ $? -ne 0 ]; then
exit 1
fi