Commit 3cb3baa1 authored by Max Kellermann's avatar Max Kellermann

log: don't call closelog() on !HAVE_SYSLOG

parent a8dbd8f4
......@@ -322,7 +322,9 @@ void close_log_files(void)
if (stdout_mode)
return;
#ifdef HAVE_SYSLOG
if (out_filename == NULL)
closelog();
#endif
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment