1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 19:23:13 +02:00

Get rid of this strange mass-closing stuff that only causes trouble. Fix nothing-being-logged-issue.

This commit is contained in:
Bram Matthys
2015-07-18 19:24:46 +02:00
parent ab4e4bd306
commit 8b716f337d
-7
View File
@@ -591,13 +591,6 @@ char logbuf[BUFSIZ];
#ifdef HAVE_SYSLOG
closelog(); /* temporary close syslog, as we mass close() fd's below... */
#endif
#ifndef NOCLOSEFD
for (fd = 3; fd < MAXCONNECTIONS; fd++)
{
(void)close(fd);
}
(void)close(1);
#endif
if (bootopt & BOOT_TTY) /* debugging is going to a tty */
goto init_dgram;