summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-05-09 08:39:25 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-05-09 08:39:51 -0400
commitbdf9fc1a940e342afb7a78075984419cb3bc3135 (patch)
treee9d3e3168195d0efb579eac9bcb8cb9331efe14e
parent9b3310b066136b0674a926da094b7fe87a13a58b (diff)
man: sd_journal_send does nothing when journald is not available
https://bugzilla.redhat.com/show_bug.cgi?id=1096067
Notes
Backport: bugfix
-rw-r--r--man/sd_journal_print.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/sd_journal_print.xml b/man/sd_journal_print.xml
index b636bcff1..0b78502c5 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>