diff --git a/Tools/sitl_run.sh b/Tools/sitl_run.sh index 98a50bfb04bb6df74216448d4701017028b207ad..943cf05cda1a985055eca1e8bd90ba1b3c198300 100755 --- a/Tools/sitl_run.sh +++ b/Tools/sitl_run.sh @@ -38,7 +38,7 @@ then if [ -x "$(command -v gazebo)" ] then gazebo ${SITL_GAZEBO_PATH}/worlds/iris.world & - SIM_PID=echo $! + SIM_PID=`echo $!` else echo "You need to have gazebo simulator installed!" exit 1