From d3199fcc60a17b14000fdc92d0aaad1da078fa6e Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Thu, 7 Apr 2016 16:45:56 +0800 Subject: [PATCH] remove defautl setting on tty when exec Signed-off-by: Lai Jiangshan --- src/parse.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/parse.c b/src/parse.c index 5684b5b..02a0a57 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1063,7 +1063,6 @@ realloc: goto out; } - exec->tty = 1; exec->ptyfd = -1; exec->stdinfd = -1; exec->stdoutfd = -1;