Skip to content

Commit

Permalink
attach: do not make terminal raw
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Jul 1, 2018
1 parent 77f6262 commit 23c8a51
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/lxc/attach.c
Expand Up @@ -980,7 +980,6 @@ static int lxc_attach_terminal(struct lxc_conf *conf,
struct lxc_terminal *terminal)
{
int ret;
struct termios oldtios;

lxc_terminal_init(terminal);

Expand All @@ -990,12 +989,6 @@ static int lxc_attach_terminal(struct lxc_conf *conf,
return -1;
}

ret = lxc_setup_tios(terminal->master, &oldtios);
if (ret < 0) {
SYSERROR("Failed to setup terminal");
return -1;
}

/* Shift ttys to container. */
ret = lxc_terminal_map_ids(conf, terminal);
if (ret < 0) {
Expand Down

0 comments on commit 23c8a51

Please sign in to comment.