commit d0719301fca962521eaa3b304c1b2fee1c53668f
parent eb781a66f43ac4fea9bdfb2f3fc209cda2ebba88
Author: MS <ms@taler.net>
Date: Tue, 24 Aug 2021 23:11:37 -1100
follow up
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/bin/taler-deployment-prepare b/bin/taler-deployment-prepare
@@ -31,7 +31,13 @@ fi
# somehow running.
function stop_running() {
taler-deployment-stop
+ for n in `jobs -p`
+ do
+ kill $n 2> /dev/null || true
+ done
+ wait
}
+
trap "stop_running" EXIT
function generate_config() {