launch_local_testnet: show processes killed by pkill
I want to verify that processes being killed are not from other parallel jobs. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
b7ed0aa235
commit
3f30eb51dd
|
@ -581,14 +581,14 @@ cleanup() {
|
|||
|
||||
for proc in "${PROCS_TO_KILL[@]}"
|
||||
do
|
||||
pkill -f -P $$ "${proc}" &>/dev/null || true
|
||||
pkill -f -P $$ "${proc}" || true
|
||||
done
|
||||
|
||||
sleep 2
|
||||
|
||||
for proc in "${PROCS_TO_KILL[@]}"
|
||||
do
|
||||
pkill -f -9 -P $$ "${proc}" &>/dev/null || true
|
||||
pkill -f -9 -P $$ "${proc}" || true
|
||||
done
|
||||
|
||||
# Delete all binaries we just built, because these are unusable outside this
|
||||
|
|
Loading…
Reference in New Issue