diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-12-15 16:50:26 +0800 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-12-15 16:50:26 +0800 |
commit | 99fbce18348051b8a9ac8d7c887417d95d6dbee0 (patch) | |
tree | 6b40210319f30310a2c27457e224e5b03f37587f /src/backend/taler-merchant-httpd.c | |
parent | fd7826ae9a201a4c1889ba7526ab4f29f68d1d82 (diff) |
tolerate missing currencies.conf
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 3a8a9412..d484252c 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -2189,10 +2189,11 @@ run (void *cls, GNUNET_CURL_enable_async_scope_header (TMH_curl_ctx, "Taler-Correlation-Id"); - if (GNUNET_OK != + if (GNUNET_SYSERR == TALER_config_get_currency (cfg, &TMH_currency)) { + GNUNET_SCHEDULER_shutdown (); return; } |