]> arthur.barton.de Git - ngircd.git/blobdiff - src/ngircd/proc.c
Only close "unrelated" sockets in forked child processes
[ngircd.git] / src / ngircd / proc.c
index fd2df1d947c51a773a9447a04e159e4a15afd8a4..7addb47ef30c804e889b6a49d390e2505ae8e1b2 100644 (file)
@@ -79,7 +79,6 @@ Proc_Fork(PROC_STAT *proc, int *pipefds, void (*cbfunc)(int, short), int timeout
                signal(SIGALRM, Proc_GenericSignalHandler);
                close(pipefds[0]);
                alarm(timeout);
-               Conn_CloseAllSockets();
                return 0;
        }