[systemd-commits] man/sd_journal_print.xml

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Fri May 9 05:40:06 PDT 2014


 man/sd_journal_print.xml |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit bdf9fc1a940e342afb7a78075984419cb3bc3135
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Fri May 9 08:39:25 2014 -0400

    man: sd_journal_send does nothing when journald is not available
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1096067

diff --git a/man/sd_journal_print.xml b/man/sd_journal_print.xml
index b636bcf..0b78502 100644
--- a/man/sd_journal_print.xml
+++ b/man/sd_journal_print.xml
@@ -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>



More information about the systemd-commits mailing list