aboutsummaryrefslogtreecommitdiffstats
path: root/src/initlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/initlog.c')
-rw-r--r--src/initlog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/initlog.c b/src/initlog.c
index c102f082..5905e16c 100644
--- a/src/initlog.c
+++ b/src/initlog.c
@@ -180,6 +180,7 @@ int startDaemon() {
dup2(fd,0);
dup2(fd,1);
dup2(fd,2);
+ close(fd);
/* kid */
execlp("minilogd","minilogd",NULL);
perror("exec");