forked from Archive/PX4-Autopilot
SITL: fix parse error on start
This fixes the error: etc/init.d-posix/rcS: 39: [: Illegal number: Signed-off-by: Julian Oes <julian@oes.ch>
This commit is contained in:
parent
4485c7aa11
commit
10a2e7e44f
|
@ -36,7 +36,7 @@ if [ "$PX4_SIMULATOR" = "sihsim" ] || [ "$(param show -q SYS_AUTOSTART)" -eq "0"
|
|||
exit 1
|
||||
fi
|
||||
|
||||
elif [ "$PX4_SIMULATOR" = "gz" ] || [ "$(param show -q SIM_GZ_EN)" -eq "1" ]; then
|
||||
elif [ "$PX4_SIMULATOR" = "gz" ] || [ "$(param show -q SIM_GZ_EN)" = "1" ]; then
|
||||
|
||||
# set local coordinate frame reference
|
||||
if [ -n "${PX4_HOME_LAT}" ]; then
|
||||
|
|
Loading…
Reference in New Issue