]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemd-cat does not connect the standard *input* of a process to the journal
authorStephane Chazelas <stephane+gh@chazelas.org>
Fri, 24 Apr 2026 12:53:02 +0000 (13:53 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 24 Apr 2026 13:09:54 +0000 (14:09 +0100)
The first paragraph of the description of the systemd-cat utility incorrectly referred to stdin when it obviously meant stderr: the other fd that it connects to the journal via a unix(7) domain socket, as clarified in the following paragraphs.

I've also replaced "process" with "command" as in that mode, systemd-cat executes a file and does not spawn a process.

man/systemd-cat.xml

index b60984b8a083873c868c360af86898a7e60aefae..6691fc4d5621b537320afe36dae12d513f38c34b 100644 (file)
@@ -34,9 +34,9 @@
     <title>Description</title>
 
     <para><command>systemd-cat</command> may be used to connect the
-    standard input and output of a process to the journal, or as a
-    filter tool in a shell pipeline to pass the output the previous
-    pipeline element generates to the journal.</para>
+    standard output and error output of a command to the journal, or
+    as a filter tool in a shell pipeline to pass the output the
+    previous pipeline element generates to the journal.</para>
 
     <para>If no parameter is passed, <command>systemd-cat</command>
     will write everything it reads from standard input (stdin) to the