summaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/init.c b/src/init.c
index 899b79ee3..7a7113591 100644
--- a/src/init.c
+++ b/src/init.c
@@ -553,7 +553,10 @@ int init(int ac, char **av)
helpserv_init();
#ifdef USE_RDB
- rdb_init();
+ if (!rdb_init()) {
+ UseRDB = 0;
+ alog("Error: Disabling UseRDB due to errors with SQL");
+ }
#endif
/* Initialize proxy detection */