]> git.ipfire.org Git - thirdparty/lxc.git/commit
attach test: always flush stdout
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 27 Jan 2014 11:05:15 +0000 (05:05 -0600)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 27 Jan 2014 12:13:39 +0000 (12:13 +0000)
commitc59ce7de5e8de938c2295dab69a78c7ee5ea8977
tree243bd836d0a6b6d9d7bfcf4586525c1268b6123f
parentb56661fead638d40eaee54d9134063098e4fa51c
attach test: always flush stdout

Otherwise, after a fork, both pids may be flushing.  When
redirecting output to a file, this causes duplicate (or really
far worse) output.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/tests/attach.c