Unverified Commit 3e813872 by Li Feng Committed by Stéphane Graber

Fix the bug of 'ts->stdoutfd' did not fill with parameters 'stdoutfd'

Signed-off-by: 's avatarLi Feng <lifeng68@huawei.com>
parent 3dc958df
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment