From 40a49bc8d870b0bb3a85bf04c34fd019ce57720f Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Tue, 15 Jun 2021 14:26:27 +0200 Subject: [PATCH] Updating HITL script to ignore failed kill step --- hitl/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hitl/run.sh b/hitl/run.sh index 3eb3e35..3aa0eb0 100755 --- a/hitl/run.sh +++ b/hitl/run.sh @@ -31,5 +31,7 @@ python3 miniconf.py dt/sinara/dual-iir/04-91-62-d9-7e-5f afe/0='"G2"' python3 miniconf.py dt/sinara/dual-iir/04-91-62-d9-7e-5f afe/0='"G1"' iir_ch/0/0=\ '{"y_min": -32767, "y_max": 32767, "y_offset": 0, "ba": [1.0, 0, 0, 0, 0]}' -kill $(jobs -p) +# Probe-run appears to sporadically fail. In that case, the job is no longer active and there's no +# background process to kill. +kill $(jobs -p) || true wait || true