ircd: win32 does not need the FD 0,1,2 stuff
This commit is contained in:
parent
c1bfea7332
commit
09f528c24c
1 changed files with 2 additions and 0 deletions
|
@ -616,6 +616,7 @@ charybdis_main(int argc, char *argv[])
|
|||
if (testing_conf)
|
||||
server_state_foreground = true;
|
||||
|
||||
#ifndef _WIN32
|
||||
/* Make sure fd 0, 1 and 2 are in use -- jilles */
|
||||
do
|
||||
{
|
||||
|
@ -625,6 +626,7 @@ charybdis_main(int argc, char *argv[])
|
|||
close(fd);
|
||||
else if (fd == -1)
|
||||
exit(1);
|
||||
#endif
|
||||
|
||||
/* Check if there is pidfile and daemon already running */
|
||||
if(!testing_conf)
|
||||
|
|
Loading…
Reference in a new issue