aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-09 15:39:54 +0200
committerChristian Grothoff <christian@grothoff.org>2016-06-09 15:39:54 +0200
commit35f3c30717859f76ac07526735b99bd44e5a857f (patch)
tree8be46e6da02acc4d4776ac5170fcf45681548d59
parent421b4f403f182cbd8e7ee6faa63fba6f2c412ae7 (diff)
exit aggregator if we failed to connect to DB
-rw-r--r--src/exchange/taler-exchange-aggregator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
index 64b05d0f7..08ea8abe9 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -993,6 +993,7 @@ run_transfers (void *cls)
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Failed to obtain database session!\n");
global_ret = GNUNET_SYSERR;
+ GNUNET_SCHEDULER_shutdown ();
return;
}
if (GNUNET_OK !=