Merge pull request #958 from stefwalter/fix-journalctl-f-regression

Regression: 'journalctl -f -t unmatched' doesn't block properly
This commit is contained in:
Lennart Poettering 2015-08-17 11:19:14 +02:00
commit 22175a39e8

View file

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