mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 17:23:35 +08:00
ROMFS: avoid empty 'then else' clause, it's an error in bash
Use 'if ! <cmd>' instead.
This commit is contained in:
@@ -61,12 +61,9 @@ then
|
||||
fi
|
||||
|
||||
param select $PARAM_FILE
|
||||
if param load
|
||||
if !param load
|
||||
then
|
||||
else
|
||||
if param reset
|
||||
then
|
||||
fi
|
||||
param reset
|
||||
fi
|
||||
|
||||
tone_alarm start
|
||||
|
||||
Reference in New Issue
Block a user