sitl bash fix for pid recording

This commit is contained in:
jgoppert
2015-10-25 17:58:16 +01:00
committed by Lorenz Meier
parent a688c89460
commit a23ba97f3f
+1 -1
View File
@@ -38,7 +38,7 @@ then
if [ -x "$(command -v gazebo)" ] if [ -x "$(command -v gazebo)" ]
then then
gazebo ${SITL_GAZEBO_PATH}/worlds/iris.world & gazebo ${SITL_GAZEBO_PATH}/worlds/iris.world &
SIM_PID=echo $! SIM_PID=`echo $!`
else else
echo "You need to have gazebo simulator installed!" echo "You need to have gazebo simulator installed!"
exit 1 exit 1