chiark / gitweb /
shared: logs-show: fflush after each output type
authorBrandon Philips <brandon@ifup.org>
Tue, 4 Sep 2012 01:37:46 +0000 (18:37 -0700)
committerLennart Poettering <lennart@poettering.net>
Tue, 4 Sep 2012 02:16:20 +0000 (19:16 -0700)
commite268b81e97833a4636dba476056fa936c4da5796
tree0169ffa2b346cea9293b8d1fe120140557d21f6e
parent88f89a9b6d25dfcb89691727c8cdaf01f4090b72
shared: logs-show: fflush after each output type

journalctl -f redirected to a pipe or file wasn't working for some
output formats but was working for json. It turns out only json was
doing an fflush.

Make all output formats flush.
src/shared/logs-show.c