aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-27 20:17:54 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-27 20:17:54 +0200
commit719a3b154ab65327834e160e045d7e95e7b3b090 (patch)
tree1234260ea1282d3352f07dcc065de5db6259d40c
parentb2c110858d7f8b405af3e73b85f28c23037913a9 (diff)
downloadmerchant-719a3b154ab65327834e160e045d7e95e7b3b090.tar.gz
merchant-719a3b154ab65327834e160e045d7e95e7b3b090.tar.bz2
merchant-719a3b154ab65327834e160e045d7e95e7b3b090.zip
-return with failure code
m---------contrib/merchant-backoffice0
-rw-r--r--src/backend/taler-merchant-httpd.c4
2 files changed, 3 insertions, 1 deletions
diff --git a/contrib/merchant-backoffice b/contrib/merchant-backoffice
-Subproject 4320467db1392e5f48a4acd079f7e2a253cf998
+Subproject 03c8c9b794905878175d07366267bdc01c3795b
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
index f95beb3e..e031c2ba 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -1601,7 +1601,9 @@ load_instances (void *cls,
}
if (0 > qs)
{
- GNUNET_break (0);
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Failed initialization. Check database setup.\n");
+ result = EXIT_FAILURE;
GNUNET_SCHEDULER_shutdown ();
return;
}