Merge pull request #1577 from lifeng68/Bugfix

Fix the bug of 'ts->stdoutfd' did not fill with parameters 'stdoutfd'
This commit is contained in:
Christian Brauner 2017-05-19 13:26:54 +02:00 committed by GitHub
commit 78678dc167

1
src/lxc/console.c Normal file → Executable file
View File

@ -697,6 +697,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);