diff options
author | Michael Adam <obnox@samba.org> | 2009-12-23 00:30:11 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-12-23 00:31:56 +0100 |
commit | c07cd2e44e40196fe810812cfda352fd56c991df (patch) | |
tree | 27d659f9e17b9e615549d428b6b9e47ac9389212 /src | |
parent | 71a035d619025910bcff350c84fd96eb2d7f2c66 (diff) |
Use shutdown_logging() in main().
Michael
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -462,10 +462,7 @@ main (int argc, char **argv) filter_destroy (); #endif /* FILTER_ENABLE */ - if (config.syslog) - closelog (); - else - close_log_file (); + shutdown_logging (); return EXIT_SUCCESS; } |