]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
terminal: enable local output processing 2389/head
authorJonathan Calmels <jcalmels@nvidia.com>
Fri, 8 Jun 2018 23:56:25 +0000 (16:56 -0700)
committerJonathan Calmels <jcalmels@nvidia.com>
Sat, 9 Jun 2018 00:10:01 +0000 (17:10 -0700)
Signed-off-by: Jonathan Calmels <jcalmels@nvidia.com>
src/lxc/terminal.c

index 18714db0b088d0a1966ce15c63ceae69413898a3..eb745c5ff52bc211fec4bfdbd3cedf8a32e08095 100644 (file)
@@ -509,7 +509,7 @@ int lxc_setup_tios(int fd, struct termios *oldtios)
 #ifdef IEXTEN
        newtios.c_lflag &= ~IEXTEN;
 #endif
-       newtios.c_oflag &= ~OPOST;
+       newtios.c_oflag |= OPOST;
        newtios.c_cc[VMIN] = 1;
        newtios.c_cc[VTIME] = 0;