From: Zbigniew Jędrzejewski-Szmek Date: Fri, 5 Apr 2024 11:43:10 +0000 (+0200) Subject: man: sd_notify() does not fail if var is unset X-Git-Tag: v256-rc1~38^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1a090b13648b19e31b03f10973be176b5b16d14;p=thirdparty%2Fsystemd.git man: sd_notify() does not fail if var is unset --- diff --git a/man/sd_notify.xml b/man/sd_notify.xml index 22b351cad31..181b3a2298a 100644 --- a/man/sd_notify.xml +++ b/man/sd_notify.xml @@ -104,8 +104,8 @@ If the unset_environment parameter is non-zero, sd_notify() will unset the $NOTIFY_SOCKET environment variable before returning (regardless of whether the function call itself succeeded or not). Further calls to - sd_notify() will then fail, and the variable is no longer inherited by child - processes. + sd_notify() will then silently do nothing, and the variable is no longer inherited + by child processes. The state parameter should contain a newline-separated list of variable assignments, similar in style to an environment block. A trailing newline is implied if none is