summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--inittab.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/inittab.c b/inittab.c
index 2efbf4d..623103d 100644
--- a/inittab.c
+++ b/inittab.c
@@ -99,10 +99,6 @@ static void fork_worker(struct init_action *a)
if (!a->proc.pid) {
p = setsid();
- close(STDIN_FILENO);
- close(STDOUT_FILENO);
- close(STDERR_FILENO);
-
fd = dev_open(a->id);
if (fd != -1)
{