mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-13 13:07:34 +08:00
Tools: fix style consistency in shell scripts "if [...]; then"
This commit is contained in:
committed by
Daniel Agar
parent
c21849b9b5
commit
bee1835831
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user