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 ();
|
filter_destroy ();
|
||||||
#endif /* FILTER_ENABLE */
|
#endif /* FILTER_ENABLE */
|
||||||
|
|
||||||
if (config.syslog)
|
shutdown_logging ();
|
||||||
closelog ();
|
|
||||||
else
|
|
||||||
close_log_file ();
|
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user