Use shutdown_logging() in main().

Michael
This commit is contained in:
Michael Adam 2009-12-23 00:30:11 +01:00
parent 71a035d619
commit c07cd2e44e

View File

@ -462,10 +462,7 @@ main (int argc, char **argv)
filter_destroy (); filter_destroy ();
#endif /* FILTER_ENABLE */ #endif /* FILTER_ENABLE */
if (config.syslog) shutdown_logging ();
closelog ();
else
close_log_file ();
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }