Use reload_config() in main() to load config and init logging.
Michael
This commit is contained in:
parent
bc10479452
commit
71a035d619
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user