Comment out the last remaining call to log_to_syslog()

Its definition in common.c and its declaration in common.h are commented
out, but the call in the libdaemon daemonise path was left behind, so
building with --with-libdaemon fails: clang reports "use of undeclared
identifier 'log_to_syslog'" and gcc fails to link with "undefined
reference to `log_to_syslog'".
This commit is contained in:
Daeho Ro
2026-07-29 16:30:28 +09:00
parent 39ad5118be
commit 7bfe78603e
+2
View File
@@ -2627,8 +2627,10 @@ int main(int argc, char **argv) {
} else { /* pid == 0 means we are the daemon */
this_is_the_daemon_process = 1;
/*
if (log_to_default != 0) // if a specific logging mode has not been selected
log_to_syslog(); // automatically send logs to the daemon_log
*/
/* Close FDs */
if (daemon_close_all(-1) < 0) {