attach: do not make terminal raw

parent 7fee7804
...@@ -980,7 +980,6 @@ static int lxc_attach_terminal(struct lxc_conf *conf, ...@@ -980,7 +980,6 @@ static int lxc_attach_terminal(struct lxc_conf *conf,
struct lxc_terminal *terminal) struct lxc_terminal *terminal)
{ {
int ret; int ret;
struct termios oldtios;
lxc_terminal_init(terminal); lxc_terminal_init(terminal);
...@@ -990,12 +989,6 @@ static int lxc_attach_terminal(struct lxc_conf *conf, ...@@ -990,12 +989,6 @@ static int lxc_attach_terminal(struct lxc_conf *conf,
return -1; return -1;
} }
ret = lxc_setup_tios(terminal->master, &oldtios);
if (ret < 0) {
SYSERROR("Failed to setup terminal");
return -1;
}
/* Shift ttys to container. */ /* Shift ttys to container. */
ret = lxc_terminal_map_ids(conf, terminal); ret = lxc_terminal_map_ids(conf, terminal);
if (ret < 0) { if (ret < 0) {
......
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