Skip to content
Snippets Groups Projects
Commit f831cc6c authored by jgoppert's avatar jgoppert Committed by Lorenz Meier
Browse files

Don't kill if jmavsim not found.

parent a23ba97f
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,12 @@ fi
# kill process names that might stil
# be running from last time
pkill mainapp
kill -9 `jps | grep Simulator | cut -d" " -f1`
jmavsim_pid=`jps | grep Simulator | cut -d" " -f1`
echo jmavsim_pid=\"${jmavsim_pid}\"
if [ -n "$jmavsim_pid" ]
then
kill $jmavsim_pid
fi
cp Tools/posix_lldbinit $build_path/src/firmware/posix/.lldbinit
cp Tools/posix.gdbinit $build_path/src/firmware/posix/.gdbinit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment