Tools/HIL/run_nsh_cmd.py fail if command failed

This commit is contained in:
Daniel Agar
2021-07-15 23:29:46 -04:00
parent c8e6d93cc0
commit 4a0fa08953
5 changed files with 118 additions and 106 deletions
+2 -1
View File
@@ -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