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/1389244Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com>
Tested-by:
Tycho Andersen <tycho.andersen@canonical.com>
Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
Showing
Please
register
or
sign in
to comment