summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c
index ca9487b..cdc6eb0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -360,13 +360,7 @@ main (int argc, char **argv)
log_message (LOG_INFO, "Initializing " PACKAGE " ...");
- ret = reload_config_file(config_defaults.config_file, &config,
- &config_defaults);
- if (ret != 0) {
- exit (EX_SOFTWARE);
- }
-
- ret = setup_logging ();
+ ret = reload_config ();
if (ret != 0) {
exit (EX_SOFTWARE);
}