diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-05-09 08:39:25 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-05-09 08:39:51 -0400 |
commit | bdf9fc1a940e342afb7a78075984419cb3bc3135 (patch) | |
tree | e9d3e3168195d0efb579eac9bcb8cb9331efe14e /man | |
parent | 9b3310b066136b0674a926da094b7fe87a13a58b (diff) |
man: sd_journal_send does nothing when journald is not available
https://bugzilla.redhat.com/show_bug.cgi?id=1096067
Diffstat (limited to 'man')
-rw-r--r-- | man/sd_journal_print.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/man/sd_journal_print.xml b/man/sd_journal_print.xml index b636bcff17..0b78502c5f 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> |