From c3eba2ab4e70fc7aed902b1d5b1fcb978ef98dfa Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sun, 14 Oct 2012 15:29:38 +0000 Subject: journalctl: make --follow really work --- src/journal/journalctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/journal/journalctl.c') diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 58ca8071fc..34017484be 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -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) { -- cgit v1.2.3-54-g00ecf