taler-mdb

GNU Taler Extensions and Integrations
Log | Files | Refs | Submodules | README | LICENSE

commit cc35fd79067baa72ef5ba1dcbdd6e154ca15ee9a
parent b2cdaa0c81ac960326ea2ce2c3d8b3e2747b861c
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sun, 14 Jan 2024 17:42:40 +0100

bugfixes in network monitor script

Diffstat:
Mcontrib/taler-mdb-network-check.sh | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/contrib/taler-mdb-network-check.sh b/contrib/taler-mdb-network-check.sh @@ -77,6 +77,18 @@ function cleanup() { echo "network-check terminating!" >&2 + if [ "$ERROR_PID" != "-1" ] + then + kill -TERM "$ERROR_PID" + wait + ERROR_PID="-1" + fi + if [ "$CHILD_PID" != "-1" ] + then + kill -TERM "$CHILD_PID" + wait + CHILD_PID="-1" + fi for n in $(jobs -p) do kill "$n" 2> /dev/null || true