launch_local_testnet.sh: print processes first
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
02437bb365
commit
f2a09802b1
|
@ -743,6 +743,12 @@ cleanup() {
|
|||
PKILL_ECHO_FLAG='-l'
|
||||
fi
|
||||
|
||||
echo "Existing processes:"
|
||||
for proc in "${PROCS_TO_KILL[@]}"; do
|
||||
PROC_NAME=$(basename "$proc")
|
||||
pgrep -alf "${PROC_NAME}" || true
|
||||
done
|
||||
|
||||
echo "Terminating:"
|
||||
for proc in "${PROCS_TO_KILL[@]}"; do
|
||||
# FIXME We should be using '-P $$' here but it doesn't always work.
|
||||
|
|
Loading…
Reference in New Issue