1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 11:55:44 +03:00

journalctl: make --follow really work

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2012-10-14 15:29:38 +00:00
parent e3ed66c52e
commit c3eba2ab4e

View File

@ -917,7 +917,7 @@ int main(int argc, char *argv[]) {
}
for (;;) {
while (arg_lines == 0 || n_shown < arg_lines) {
while (arg_lines == 0 || arg_follow || n_shown < arg_lines) {
int flags;
if (need_seek) {