journalctl: make --follow really work

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2012-10-14 15:29:38 +00:00
parent e3ed66c52e
commit c3eba2ab4e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {