mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 22:51:24 +00:00
Merge pull request #1577 from lifeng68/Bugfix
Fix the bug of 'ts->stdoutfd' did not fill with parameters 'stdoutfd'
This commit is contained in:
commit
78678dc167
1
src/lxc/console.c
Normal file → Executable file
1
src/lxc/console.c
Normal file → Executable file
@ -697,6 +697,7 @@ int lxc_console(struct lxc_container *c, int ttynum,
|
|||||||
ts->escape = escape;
|
ts->escape = escape;
|
||||||
ts->winch_proxy = c->name;
|
ts->winch_proxy = c->name;
|
||||||
ts->winch_proxy_lxcpath = c->config_path;
|
ts->winch_proxy_lxcpath = c->config_path;
|
||||||
|
ts->stdoutfd = stdoutfd;
|
||||||
|
|
||||||
lxc_console_winsz(stdinfd, masterfd);
|
lxc_console_winsz(stdinfd, masterfd);
|
||||||
lxc_cmd_console_winch(ts->winch_proxy, ts->winch_proxy_lxcpath);
|
lxc_cmd_console_winch(ts->winch_proxy, ts->winch_proxy_lxcpath);
|
||||||
|
Loading…
Reference in New Issue
Block a user