]> git.e2factory.org Git - e2factory.git/commitdiff
console: set stderr to unbuffered
authorTobias Ulmer <tu@emlix.com>
Thu, 23 Nov 2017 14:56:08 +0000 (15:56 +0100)
committerTobias Ulmer <tu@emlix.com>
Mon, 10 Dec 2018 17:00:11 +0000 (18:00 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/console.lua

index 976991c7fc0f93e6d32dc2bade30b79a927781c9..d7a0eaaf3bf94937e7c0a45bd7a66e1edd9333fe 100644 (file)
@@ -36,6 +36,7 @@ function console.open()
     rc, re = eio.fdopen(eio.STDERR, "w")
     if rc then
         stderr = rc
+        eio.setunbuffered(stderr)
     end
 
     rc, re = eio.fdopen(eio.STDOUT, "w")