]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc_info: flush stdout before calling routines which may fork
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 12 Nov 2014 03:51:04 +0000 (03:51 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 24 Nov 2014 21:14:55 +0000 (16:14 -0500)
commitd52f2fd374b31c05f875fb2d8061e2a9271c8339
tree1d7bea9809c01e462bd6314412fd1a975c9463bd
parent4086cea56d351ddaf3c16ed556431297276a6e90
lxc_info: flush stdout before calling routines which may fork

Otherwise both resulting takss will print what they had flushed when they
exit.

This fixes https://bugs.launchpad.net/bugs/1389244

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Tested-by: Tycho Andersen <tycho.andersen@canonical.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxc_info.c