]> git.ipfire.org Git - thirdparty/systemd.git/commit
journalctl: show human readable text if no namespace is found
authorLennart Poettering <lennart@poettering.net>
Thu, 11 Apr 2024 17:04:14 +0000 (19:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Apr 2024 10:08:23 +0000 (12:08 +0200)
commite1005cae75e146264411865d43ef4bbbc5015280
tree1ad71432f847fcbb52b6473659088ca4d2a59564
parentedd2b336593cb1d3cbb38f1e3a047598a959c554
journalctl: show human readable text if no namespace is found

The common case will be that no namespaces are defined, hence by default
we'd just output "NAMESPACE" and exit, which is very confusing.

Generate a nice message instead, how many of our tools do it. Suppress
it on --quiet however.
src/journal/journalctl-misc.c