summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 4a83abc22..e601ae496 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -107,9 +107,7 @@ int DaemonSeed (void)
setsid ();
umask (007);
printf("InspIRCd Process ID: \033[1;32m%lu\033[0m\n",(unsigned long)getpid());
- freopen("/dev/null","w",stdout);
- freopen("/dev/null","w",stderr);
-
+
setpriority(PRIO_PROCESS,(int)getpid(),15);
if (unlimitcore)