diff options
Diffstat (limited to 'src/authorization/anastasis-helper-authorization-iban.c')
-rw-r--r-- | src/authorization/anastasis-helper-authorization-iban.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/authorization/anastasis-helper-authorization-iban.c b/src/authorization/anastasis-helper-authorization-iban.c index 04dfa03..c6e5335 100644 --- a/src/authorization/anastasis-helper-authorization-iban.c +++ b/src/authorization/anastasis-helper-authorization-iban.c | |||
@@ -390,6 +390,16 @@ run (void *cls, | |||
390 | return; | 390 | return; |
391 | } | 391 | } |
392 | if (GNUNET_OK != | 392 | if (GNUNET_OK != |
393 | db_plugin->connect (db_plugin->cls)) | ||
394 | { | ||
395 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | ||
396 | "Database not set up. Did you run anastasis-dbinit?\n"); | ||
397 | global_ret = EXIT_NOTCONFIGURED; | ||
398 | ANASTASIS_DB_plugin_unload (db_plugin); | ||
399 | db_plugin = NULL; | ||
400 | return; | ||
401 | } | ||
402 | if (GNUNET_OK != | ||
393 | GNUNET_CONFIGURATION_get_value_string (cfg, | 403 | GNUNET_CONFIGURATION_get_value_string (cfg, |
394 | "authorization-iban", | 404 | "authorization-iban", |
395 | "CREDIT_IBAN", | 405 | "CREDIT_IBAN", |