Skip to content

Commit

Permalink
take 2 at wait logic - 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Sep 27, 2024
1 parent cfa643d commit 80eebbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/launch_scripts/local-scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ for pid in "${reversed_pids[@]}"; do
exit_status=$?
if [[ $exit_status -ne 0 ]]; then
echo "ERROR: component '${pidmap[$pid]}' failed with status $exit_status"
sleep 5 # May need to wait for output files to be written
sleep 10 # May need to wait for output files to be written
kill "${!pidmap[@]}" 2>/dev/null # kill all
exit 1
else
Expand Down

0 comments on commit 80eebbc

Please sign in to comment.