Skip to content

Commit 2c7c501

Browse files
committed
github: use -9 option with kill
1 parent 7bd14fa commit 2c7c501

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/spread-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
# Kill any leftover spread processes
9292
for pid in $(pgrep spread); do
9393
echo "Killing process $(ps -p "$pid" -o cmd || true)"
94-
kill "$pid";
94+
kill -9 "$pid" || true
9595
done
9696
9797
- name: Checkout code
@@ -452,7 +452,7 @@ jobs:
452452
# Kill any leftover spread processes
453453
for pid in $(pgrep spread); do
454454
echo "Killing process $(ps -p "$pid" -o cmd || true)"
455-
kill "$pid";
455+
kill -9 "$pid" || true
456456
done
457457
458458
shopt -s nullglob;

0 commit comments

Comments
 (0)