chiark / gitweb /
man: sd_journal_send does nothing when journald is not available
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 9 May 2014 12:39:25 +0000 (08:39 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 9 May 2014 12:39:51 +0000 (08:39 -0400)
https://bugzilla.redhat.com/show_bug.cgi?id=1096067

man/sd_journal_print.xml

index b636bcf..0b78502 100644 (file)
@@ -218,6 +218,11 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid(
                 errno-style error code. The
                 <citerefentry><refentrytitle>errno</refentrytitle><manvolnum>3</manvolnum></citerefentry>
                 variable itself is not altered.</para>
+
+                <para>If
+                <citerefentry><refentrytitle>systemd-journald</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+                is not running (the socket is not present), those
+                functions do nothing, and also return 0.</para>
         </refsect1>
 
         <refsect1>