]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
terminal: don't garble output 2450/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 5 Jul 2018 13:37:59 +0000 (15:37 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 5 Jul 2018 13:37:59 +0000 (15:37 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/terminal.c

index bc61d4e5f4437db5978d0dd34fbf2fec79b269e3..78c6dd91894455290eaad14bbb99f5186b26c980 100644 (file)
@@ -922,7 +922,6 @@ int lxc_terminal_setup(struct lxc_conf *conf)
 {
        int ret;
        struct lxc_terminal *terminal = &conf->console;
-       struct termios oldtios;
 
        if (terminal->path && strcmp(terminal->path, "none") == 0) {
                INFO("No terminal requested");
@@ -933,10 +932,6 @@ int lxc_terminal_setup(struct lxc_conf *conf)
        if (ret < 0)
                return -1;
 
-       ret = lxc_setup_tios(terminal->master, &oldtios);
-       if (ret < 0)
-               return -1;
-
        ret = lxc_terminal_create_log_file(terminal);
        if (ret < 0)
                goto err;