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,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)
|
||||
|
Loading…
Reference in New Issue
Block a user