Skip to content

Commit

Permalink
Update test-setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
grg-haas authored Jul 17, 2024
1 parent be328b8 commit 60051ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/ci/test-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,9 @@ function wait_for {
#############

# Make sure we turn off the boards if we die early
trap power_off_btn EXIT
trap power_off EXIT
function final_shutdown {
power_off_btn
power_off
}

trap final_shutdown EXIT

0 comments on commit 60051ec

Please sign in to comment.