mirror of
https://github.com/systemd/systemd.git
synced 2024-11-08 11:27:32 +03:00
Merge pull request #958 from stefwalter/fix-journalctl-f-regression
Regression: 'journalctl -f -t unmatched' doesn't block properly
This commit is contained in:
commit
22175a39e8
@ -2066,9 +2066,13 @@ int main(int argc, char *argv[]) {
|
||||
goto finish;
|
||||
}
|
||||
if (r == 0) {
|
||||
if (arg_follow)
|
||||
need_seek = true;
|
||||
else {
|
||||
printf("-- No entries --\n");
|
||||
goto finish;
|
||||
}
|
||||
}
|
||||
|
||||
if (!arg_follow)
|
||||
pager_open_if_enabled();
|
||||
|
Loading…
Reference in New Issue
Block a user