chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
journalctl: make --follow really work
[elogind.git]
/
src
/
journal
/
journalctl.c
diff --git
a/src/journal/journalctl.c
b/src/journal/journalctl.c
index 58ca8071fc9315e59e9e33c237af816ff6d5400e..34017484be49fb67a980c166da353a7f035b32b5 100644
(file)
--- 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) {