When running as --daemon in the background and using a "log file" rsyncd.conf
[rsync/rsync.git] / socket.c
index 9a61951..a0debcd 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -247,6 +247,8 @@ void start_accept_loop(int port, int (*fn)(int ))
                struct sockaddr addr;
                int in_addrlen = sizeof(addr);
 
+               log_release();
+
                FD_ZERO(&fds);
                FD_SET(s, &fds);