Use shutdown_logging() in main().

Michael
This commit is contained in:
Michael Adam committed 2009-12-23 00:31:56 +01:00
1 parent 71a035d619
commit c07cd2e44e
1 file changed
+1 -4
+1 -4
View File
@@ -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;
}