From: Li Feng Date: Fri, 19 May 2017 14:40:07 +0000 (+0800) Subject: Fix the bug of 'ts->stdoutfd' did not fill with parameters 'stdoutfd' X-Git-Tag: lxc-1.0.11~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1151bd5a760e927e8c60b85c195baca39330ed7f;p=thirdparty%2Flxc.git Fix the bug of 'ts->stdoutfd' did not fill with parameters 'stdoutfd' Signed-off-by: Li Feng --- diff --git a/src/lxc/console.c b/src/lxc/console.c old mode 100644 new mode 100755 index 0cfc9ab84..536136de6 --- a/src/lxc/console.c +++ b/src/lxc/console.c @@ -683,6 +683,7 @@ int lxc_console(struct lxc_container *c, int ttynum, ts->escape = escape; ts->winch_proxy = c->name; ts->winch_proxy_lxcpath = c->config_path; + ts->stdoutfd = stdoutfd; lxc_console_winsz(stdinfd, masterfd); lxc_cmd_console_winch(ts->winch_proxy, ts->winch_proxy_lxcpath);