exit aggregator if we failed to connect to DB

This commit is contained in:
Christian Grothoff 2016-06-09 15:39:54 +02:00
parent 421b4f403f
commit 35f3c30717

View File

@ -993,6 +993,7 @@ run_transfers (void *cls)
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Failed to obtain database session!\n"); "Failed to obtain database session!\n");
global_ret = GNUNET_SYSERR; global_ret = GNUNET_SYSERR;
GNUNET_SCHEDULER_shutdown ();
return; return;
} }
if (GNUNET_OK != if (GNUNET_OK !=