]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix the bug of 'ts->stdoutfd' did not fill with parameters 'stdoutfd'
authorLi Feng <lifeng68@huawei.com>
Fri, 19 May 2017 14:40:07 +0000 (22:40 +0800)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 15 Aug 2017 21:30:47 +0000 (17:30 -0400)
Signed-off-by: Li Feng <lifeng68@huawei.com>
src/lxc/console.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 0cfc9ab..536136d
@@ -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);