Use shutdown_logging() in main().
Michael
This commit is contained in:
parent
71a035d619
commit
c07cd2e44e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user