[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-mdb] branch master updated: do not get confused by sleep
From: |
gnunet |
Subject: |
[taler-taler-mdb] branch master updated: do not get confused by sleep |
Date: |
Sun, 14 Jan 2024 18:08: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 5a48370 do not get confused by sleep
5a48370 is described below
commit 5a483707e990d87eb57f57be1fbbb7a0d0c034b7
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sun Jan 14 18:08:40 2024 +0100
do not get confused by sleep
---
contrib/taler-mdb-network-check.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/contrib/taler-mdb-network-check.sh
b/contrib/taler-mdb-network-check.sh
index d8e220a..ff96f3c 100755
--- a/contrib/taler-mdb-network-check.sh
+++ b/contrib/taler-mdb-network-check.sh
@@ -119,8 +119,11 @@ function show_failure()
}
# Function to run when our child died.
+child_death_debounce=0
function childdeath()
{
+ if [[ $child_death_debounce == 1 ]]; then return; fi;
+ child_death_debounce=1
if ! ps "$ERROR_PID" &> /dev/null
then
wait "${ERROR_PID}"
@@ -133,6 +136,7 @@ function childdeath()
CHILD_PID="-1"
show_failure child-died
fi
+ child_death_debounce=0
}
# Install cleanup handler (except for kill -9)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.