Quit on database connection failure
authorMichael Marley <michael@michaelmarley.com>
Tue, 16 Sep 2014 23:29:12 +0000 (19:29 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 23 Sep 2014 21:23:20 +0000 (23:23 +0200)
commit7bf1ebc67b4674af9e38dece3f6584d2376b6538
tree66b2f95687a80de00db00251d1b958baa9a9100d
parenta071b431314816ce47b00918d8baddc0ec546eb1
Quit on database connection failure

Previously, if a Quasselcore was configured to use PostgreSQL but
the PostgreSQL connection failed on startup, it would come up
unconfigured with SQLite.  This patch makes the Quasselcore quit
with a fatal error instead.
src/core/core.cpp