diff options
author | Bill Nottingham <notting@redhat.com> | 2001-02-22 04:57:35 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-02-22 04:57:35 +0000 |
commit | db30b392d38f0fd88fdfdacb7c361e8cef2c0bae (patch) | |
tree | 110a5ee1bb7fe4ee74a41d1b79c825280ff6f71e /src/initlog.c | |
parent | 87cbd990b396dac850209a097fae7e6a12313e8f (diff) | |
download | initscripts-db30b392d38f0fd88fdfdacb7c361e8cef2c0bae.tar initscripts-db30b392d38f0fd88fdfdacb7c361e8cef2c0bae.tar.gz initscripts-db30b392d38f0fd88fdfdacb7c361e8cef2c0bae.tar.bz2 initscripts-db30b392d38f0fd88fdfdacb7c361e8cef2c0bae.tar.xz initscripts-db30b392d38f0fd88fdfdacb7c361e8cef2c0bae.zip |
don't close the magic file descriptor
Diffstat (limited to 'src/initlog.c')
-rw-r--r-- | src/initlog.c | 1 |
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"); |