1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-25 06:03:40 +03:00
Mike Yuan e9889190be journalctl: fix output when --lines is used with --grep
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

(cherry picked from commit db4691961ca52759fe6645d0fddb659ee4299ac2)
(cherry picked from commit c4cdbb978f681e7356c6c6367c1730d156a6a4e0)
2023-03-03 11:37:00 +01:00
..
2022-10-17 12:09:43 +02:00
2022-10-14 15:56:58 +02:00
2022-06-28 13:10:05 +02:00
2022-06-28 16:05:31 +02:00
2023-02-10 20:28:11 +00:00
2022-06-28 13:10:05 +02:00
2021-08-18 13:36:14 +02:00
2022-06-28 13:10:05 +02:00
2022-10-03 09:23:37 +09:00
2022-03-07 15:32:22 +09:00
2020-12-16 17:21:48 +01:00
2021-01-04 11:01:17 +00:00
2021-06-30 23:33:00 +09:00
2021-01-04 11:01:17 +00:00
2022-01-06 22:20:11 +09:00
2021-11-30 13:54:27 +01:00
2022-08-23 12:14:58 +02:00
2022-08-28 00:03:36 +09:00
2022-07-23 11:18:23 +09:00
2022-03-21 20:06:13 +00:00
2020-11-09 13:23:58 +09:00
2023-02-10 20:28:11 +00:00
2020-12-16 17:21:48 +01:00