[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 01/02: clean logic
From: |
gnunet |
Subject: |
[taler-exchange] 01/02: clean logic |
Date: |
Fri, 27 Mar 2020 18:11:24 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 6951892c683d89da81682a431c9eaf44aba39f98
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 27 18:10:59 2020 +0100
clean logic
---
src/auditor/generate-revoke-basedb.sh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/auditor/generate-revoke-basedb.sh
b/src/auditor/generate-revoke-basedb.sh
index c04a41ec..8bc31fab 100755
--- a/src/auditor/generate-revoke-basedb.sh
+++ b/src/auditor/generate-revoke-basedb.sh
@@ -7,6 +7,9 @@
#
set -eu
+
+trap "kill `jobs -p` &> /dev/null || true" EXIT
+
# Exit, with status code "skip" (no 'real' failure)
function exit_skip() {
echo $1
@@ -253,10 +256,8 @@ taler-wallet-cli $TIMETRAVEL --wallet-db=$WALLET_DB
advanced suspend-coins "$sus
taler-wallet-cli $TIMETRAVEL --wallet-db=$WALLET_DB exchanges update \
-f $EXCHANGE_URL
-echo "Before Wallet CABOOM (type exit, note that you will have to terminate
the wallet with CTRL-C)"
-
# Block until scheduled operations are done
-taler-wallet-cli $TIMETRAVEL --wallet-db=$WALLET_DB run-until-done &>
wallet-caboom.log
+taler-wallet-cli $TIMETRAVEL --wallet-db=$WALLET_DB run-until-done
echo "Restarting merchant (so new keys are known)"
kill -TERM $MERCHANT_PID
--
To stop receiving notification emails like this one, please contact
address@hidden.