The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2389

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Jonathan Calmels <jcalm...@nvidia.com>

Not entirely sure why this was unset in the first place, but this fixes the logging output when doing something like: 

```
lxc-execute -l info -o /dev/stderr ubuntu
```
From 300ec7176bfd66c5fa68d2927da71541409cf304 Mon Sep 17 00:00:00 2001
From: Jonathan Calmels <jcalm...@nvidia.com>
Date: Fri, 8 Jun 2018 16:56:25 -0700
Subject: [PATCH] terminal: enable local output processing

Signed-off-by: Jonathan Calmels <jcalm...@nvidia.com>
---
 src/lxc/terminal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lxc/terminal.c b/src/lxc/terminal.c
index 18714db0b..eb745c5ff 100644
--- a/src/lxc/terminal.c
+++ b/src/lxc/terminal.c
@@ -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;
 
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to