diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/journal/journalctl.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index fe83edd2b3..ce2dd9da26 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -2066,8 +2066,12 @@ int main(int argc, char *argv[]) { goto finish; } if (r == 0) { - printf("-- No entries --\n"); - goto finish; + if (arg_follow) + need_seek = true; + else { + printf("-- No entries --\n"); + goto finish; + } } if (!arg_follow) |