From: Zbigniew Jędrzejewski-Szmek Date: Fri, 9 May 2014 12:39:25 +0000 (-0400) Subject: man: sd_journal_send does nothing when journald is not available X-Git-Tag: v213~214 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=bdf9fc1a940e342afb7a78075984419cb3bc3135;p=elogind.git 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 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 errno3 variable itself is not altered. + + If + systemd-journald8 + is not running (the socket is not present), those + functions do nothing, and also return 0.