Skip to content
Commit 479d7a90 authored by Georg Müller's avatar Georg Müller Committed by Zbigniew Jędrzejewski-Szmek
Browse files

fix journalctl regression (#15099)

This regression was introduced in #14913.

The current_file variable can be NULL, as, for example, with the
following commands:

* journalctl --list-boots
* journalctl -b -1 --no-pager

Since current_file is only checked for pointer equality with f, removing
the assertion is safe here.

(cherry picked from commit 8d0726fc)
(cherry picked from commit e8df08cf)
(cherry picked from commit a713f52d)
parent e641811c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment