diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-12-05 17:38:25 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-12-07 05:31:25 +0100 |
commit | 4207a5577a3711fb6760f1f122314fe3f4448709 (patch) | |
tree | b4e5adcad5bd05dcfc7f8f3bb20906561151753a /.packit.yml | |
parent | Merge pull request #30312 from yuwata/journal-cleanups (diff) | |
download | systemd-4207a5577a3711fb6760f1f122314fe3f4448709.tar.xz systemd-4207a5577a3711fb6760f1f122314fe3f4448709.zip |
journalctl: don't skip over messages not matching the cursor
When --after-cursor=/--cursor-file= is used together with a journal
filter, we still skipped over the first matching entry even if it wasn't
the entry the cursor points at, thus missing one "valid" entry
completely. Let's fix this by checking if the entry cursor after seeking
matches the user provided cursor, and skip to the next entry only when
the cursors match.
Resolves: #30288
Diffstat (limited to '.packit.yml')
0 files changed, 0 insertions, 0 deletions