Skip to content

Commit

Permalink
build: use -9 with kill in Makefile
Browse files Browse the repository at this point in the history
Fixes: #20194

PR-URL: #20195
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
Trott authored and MylesBorins committed May 4, 2018
1 parent b5584c4 commit c5b3459
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ clear-stalled:
ps awwx | grep Release/node | grep -v grep | cat
@PS_OUT=`ps awwx | grep Release/node | grep -v grep | awk '{print $$1}'`; \
if [ "$${PS_OUT}" ]; then \
echo $${PS_OUT} | xargs kill; \
echo $${PS_OUT} | xargs kill -9; \
fi

.PHONY: test-gc
Expand Down Expand Up @@ -439,7 +439,7 @@ test-ci-js: | clear-stalled
ps awwx | grep Release/node | grep -v grep | cat
@PS_OUT=`ps awwx | grep Release/node | grep -v grep | awk '{print $$1}'`; \
if [ "$${PS_OUT}" ]; then \
echo $${PS_OUT} | xargs kill; exit 1; \
echo $${PS_OUT} | xargs kill -9; exit 1; \
fi

.PHONY: test-ci
Expand All @@ -454,7 +454,7 @@ test-ci: | clear-stalled build-addons build-addons-napi doc-only
ps awwx | grep Release/node | grep -v grep | cat
@PS_OUT=`ps awwx | grep Release/node | grep -v grep | awk '{print $$1}'`; \
if [ "$${PS_OUT}" ]; then \
echo $${PS_OUT} | xargs kill; exit 1; \
echo $${PS_OUT} | xargs kill -9; exit 1; \
fi

.PHONY: build-ci
Expand Down

0 comments on commit c5b3459

Please sign in to comment.