diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-28 23:43:05 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-28 23:43:05 +0200 |
commit | f486df99c87f4ea660a4e39fe4497c9fd2afa847 (patch) | |
tree | 27e2d958bde887eebaa0d6460fdb378c3b2c8b28 /src/exchange-tools/taler-exchange-wire.c | |
parent | 8a89eec7b4d3acab00490f2716e230908c80ab7a (diff) | |
download | exchange-f486df99c87f4ea660a4e39fe4497c9fd2afa847.tar.xz |
fail if exchange-account configuration is definitively wrong (#5642)
Diffstat (limited to 'src/exchange-tools/taler-exchange-wire.c')
-rw-r--r-- | src/exchange-tools/taler-exchange-wire.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/exchange-tools/taler-exchange-wire.c b/src/exchange-tools/taler-exchange-wire.c index 2f6b4ad73..8aa3f570c 100644 --- a/src/exchange-tools/taler-exchange-wire.c +++ b/src/exchange-tools/taler-exchange-wire.c @@ -169,9 +169,14 @@ run (void *cls, } GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Signing /wire responses\n"); - TALER_EXCHANGEDB_find_accounts (cfg, - &sign_account_data, - NULL); + if (GNUNET_OK != + TALER_EXCHANGEDB_find_accounts (cfg, + &sign_account_data, + NULL)) + { + global_ret = 1; + return; + } } |