man: sd_journal_send does nothing when journald is not available

https://bugzilla.redhat.com/show_bug.cgi?id=1096067
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-05-09 08:39:25 -04:00
parent 9b3310b066
commit bdf9fc1a94
1 changed files with 5 additions and 0 deletions

View 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>