From b153f67fe3e0df84a02bfc9cae6f2469ca793615 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 29 Sep 2007 10:17:28 +0000 Subject: [PATCH] Ensure reading the console still works in parallel startup --- src/runscript.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runscript.c b/src/runscript.c index bd404cd2..49048044 100644 --- a/src/runscript.c +++ b/src/runscript.c @@ -379,7 +379,7 @@ static bool svc_exec (const char *arg1, const char *arg2) * good for us */ close (master_tty); - dup2 (slave_tty, 0); + dup2 (fileno (stdin), 0); dup2 (slave_tty, 1); dup2 (slave_tty, 2); if (slave_tty > 2)