diff options
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index ee6efd194..b7e9e0106 100644 --- a/src/main.c +++ b/src/main.c @@ -126,7 +126,10 @@ static void changeToUser(void) static void openDB(Options * options, char *argv0) { - db_init(); + struct config_param *param; + + param = parseConfigFilePath(CONF_DB_FILE, true); + db_init(param->value); if (options->createDB > 0 || !db_load()) { unsigned job; |