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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user