mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 19:13:34 +08:00
Tools/HIL/run_nsh_cmd.py fail if command failed
This commit is contained in:
@@ -32,7 +32,8 @@ do
|
||||
|
||||
if [ $gdb_ret -ne 0 ]; then
|
||||
echo "GDB error, retrying"
|
||||
sleep 3
|
||||
killall JLinkGDBServerCLExe
|
||||
sleep 5
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user