summaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/runscript.c')
-rw-r--r--src/rc/runscript.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index dfabb86..83f2086 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -432,8 +432,6 @@ static bool svc_exec (const char *arg1, const char *arg2)
eerrorx ("%s: vfork: %s", service, strerror (errno));
if (service_pid == 0) {
if (slave_tty >= 0) {
- /* Hmmm, this shouldn't work in a vfork, but it does which is
- * good for us */
close (master_tty);
dup2 (slave_tty, 1);