From 10a2e7e44fcc99e1d8baf4fff04cf2bbf6b15aba Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Fri, 5 May 2023 08:16:04 +1200 Subject: [PATCH] SITL: fix parse error on start This fixes the error: etc/init.d-posix/rcS: 39: [: Illegal number: Signed-off-by: Julian Oes --- ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator b/ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator index b0025563df0a..98cb35e9ae32 100644 --- a/ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator +++ b/ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator @@ -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