Remove reference to log_to_syslog() if libdaemon support is included.

This commit is contained in:
Mike Brady
2026-07-29 12:15:36 +02:00
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.50])
AC_INIT([shairport-sync], [5.2], [4265913+mikebrady@users.noreply.github.com])
AC_INIT([shairport-sync], [5.2.1], [4265913+mikebrady@users.noreply.github.com])
: ${CFLAGS="-O3"}
: ${CXXFLAGS="-O3"}
AM_INIT_AUTOMAKE([subdir-objects])
+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) {