1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-08 05:57:26 +03:00
Mike Yuan c4cdbb978f 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)
2023-03-03 09:57:28 +01:00
..
2023-02-01 21:56:28 +00:00
2023-01-24 19:14:27 +01: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
2022-11-16 00:12:16 +01:00
2023-01-15 17:19:10 +00:00
2023-02-09 14:30:43 +01:00
2022-06-28 13:10:05 +02:00
2023-02-12 00:54:07 +01:00
2022-06-28 13:10:05 +02:00
2022-12-07 10:26:31 +01:00
2022-03-07 15:32:22 +09:00
2021-01-04 11:01:17 +00:00
2021-06-30 23:33:00 +09:00
2023-01-19 23:11:36 +09:00
2022-01-06 22:20:11 +09:00
2021-11-30 13:54:27 +01:00
2023-01-20 15:32:16 +09:00
2022-08-23 12:14:58 +02:00
2022-08-28 00:03:36 +09:00
2022-03-21 20:06:13 +00:00
2023-01-20 15:32:16 +09:00
2023-02-12 00:54:07 +01:00
2023-02-09 14:30:43 +01:00
2020-12-16 17:21:48 +01:00