summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-10-14 15:29:38 +0000
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-10-14 15:29:38 +0000
commitc3eba2ab4e70fc7aed902b1d5b1fcb978ef98dfa (patch)
treef9589a77a5c2a1858809868022b1428d0fc538ee /src/journal
parente3ed66c52ede243081a18f7bc99bf6ba3f885b86 (diff)
journalctl: make --follow really work
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journalctl.c2
1 files changed, 1 insertions, 1 deletions
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) {