Skip to content

Commit

Permalink
Add comment on ssh kill command
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Jul 30, 2024
1 parent a7e9b88 commit e8cfb15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/scripts/driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ for pr in ${pr_list}; do
echo -e "${pstree_out}" | grep -Pow "(?<=\()[0-9]+(?=\))" | xargs kill
fi
else
# Check if the driver is still running on the head node; if so, kill it and all child processes
ssh "${driver_HOST}" "if ps -p ${driver_PID} 2>&1; then pstree -A -p \"${driver_PID}\" | grep -Eow \"[0-9]+\" | xargs kill; fi"
fi
{
Expand Down

0 comments on commit e8cfb15

Please sign in to comment.