From 23c8a516764e15e9c4a1341654314754e1714742 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Sat, 30 Jun 2018 13:13:52 +0200 Subject: [PATCH] attach: do not make terminal raw Signed-off-by: Christian Brauner --- src/lxc/attach.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/lxc/attach.c b/src/lxc/attach.c index 62f68c823..bc98f67c5 100644 --- a/src/lxc/attach.c +++ b/src/lxc/attach.c @@ -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); @@ -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) { -- 2.47.2