gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-mdb] branch master updated: bugfixes in network monitor scr


From: gnunet
Subject: [taler-taler-mdb] branch master updated: bugfixes in network monitor script
Date: Sun, 14 Jan 2024 17:42:43 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository taler-mdb.

The following commit(s) were added to refs/heads/master by this push:
     new cc35fd7  bugfixes in network monitor script
cc35fd7 is described below

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

    bugfixes in network monitor script
---
 contrib/taler-mdb-network-check.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/contrib/taler-mdb-network-check.sh 
b/contrib/taler-mdb-network-check.sh
index 370bdce..efbc5b0 100755
--- 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]