diff options
author | Michael Adam <obnox@samba.org> | 2009-12-23 00:29:14 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-12-23 00:31:55 +0100 |
commit | 71a035d619025910bcff350c84fd96eb2d7f2c66 (patch) | |
tree | bbd884baf8c83550828b9ba1e86ec72c38ce7f24 /src | |
parent | bc1047945272235208fddcda71d8f25e3063e589 (diff) |
Use reload_config() in main() to load config and init logging.
Michael
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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); } |