commit 4910655790ce89aa23f47517c9e21a1bb9f92a69
parent 0849c38cf81e5d35a0e35d641166049ad530b85e
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sun, 14 Jan 2024 17:58:56 +0100
more debugging
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/taler-mdb-network-check.sh b/contrib/taler-mdb-network-check.sh
@@ -25,7 +25,7 @@
# and show an error message.
#
-set -eu
+set -eux
EXIT_STATUS=0
CHILD_PID=-1
@@ -80,13 +80,13 @@ function cleanup()
if [ "$ERROR_PID" != "-1" ]
then
kill -TERM "$ERROR_PID"
- wait
+ wait "$ERROR_PID"
ERROR_PID="-1"
fi
if [ "$CHILD_PID" != "-1" ]
then
kill -TERM "$CHILD_PID"
- wait
+ wait "$CHILD_PID"
CHILD_PID="-1"
fi
for n in $(jobs -p)