From: Christian Brauner Date: Sat, 30 Jun 2018 11:13:52 +0000 (+0200) Subject: attach: do not make terminal raw X-Git-Tag: lxc-3.1.0~224^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23c8a516764e15e9c4a1341654314754e1714742;p=thirdparty%2Flxc.git attach: do not make terminal raw Signed-off-by: Christian Brauner --- 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) {