]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: send READY=1 also when --lines=0 is given
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 27 Nov 2025 12:01:59 +0000 (13:01 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 27 Nov 2025 19:02:02 +0000 (20:02 +0100)
commitef90afd59e8f18f78af5a4111aefaa9cea73f048
tree50f69e5d88f4fac2a878431e73ff8a50a5028423
parentb9be45f926789d9d4f6a208040a90d760a61ddb1
journal: send READY=1 also when --lines=0 is given

If --lines=0 is given, we'd skip the setup and not invoke sd_notify,
potentially blocking the caller. Change the condition for the callback
to also include that case. Since then the callback would always be
set, the 'if' statement is not necessary anymore.
src/journal/journalctl-show.c