]> git.ipfire.org Git - thirdparty/systemd.git/commit
journalctl: do not fail on SIGTERM/SIGINT, or when STDOUT is disconnected
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Jul 2025 09:19:05 +0000 (18:19 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Jul 2025 23:41:10 +0000 (08:41 +0900)
commit390097724b36cb849ffc89caa223dc60a3762e35
treebbd1487f29822e532254321d9acf44e03075389f
parent7aefb194e754cae9c166539a103e9fd6b7e59798
journalctl: do not fail on SIGTERM/SIGINT, or when STDOUT is disconnected

The current behavior is not useful when e.g. pipefail is enabled.
Let's exit cleanly in such cases.

Closes #38114.
src/journal/journalctl-show.c
src/journal/journalctl.c