mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
Previously, we skip the entries before arg_lines unconditionally, which doesn't behave correctly when used with --grep. After this commit, when a pattern is specified, we don't skip the entries early, but rely on the count of the lines shown to tell us when to stop. To achieve that we would have to search backwards instead. Fixes #25147
49 KiB
49 KiB