Skip to content

Commit

Permalink
SITL: fix parse error on start
Browse files Browse the repository at this point in the history
This fixes the error:
etc/init.d-posix/rcS: 39: [: Illegal number:

Signed-off-by: Julian Oes <[email protected]>
  • Loading branch information
julianoes committed Nov 10, 2023
1 parent 4485c7a commit 10a2e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10a2e7e

Please sign in to comment.