journalctl: make --follow really work
This commit is contained in:
parent
e3ed66c52e
commit
c3eba2ab4e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue