mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
man: sd_notify() does not fail if var is unset
This commit is contained in:
parent
362dcfc5db
commit
f1a090b136
|
@ -104,8 +104,8 @@
|
||||||
<para>If the <parameter>unset_environment</parameter> parameter is non-zero,
|
<para>If the <parameter>unset_environment</parameter> parameter is non-zero,
|
||||||
<function>sd_notify()</function> will unset the <varname>$NOTIFY_SOCKET</varname> environment variable
|
<function>sd_notify()</function> will unset the <varname>$NOTIFY_SOCKET</varname> environment variable
|
||||||
before returning (regardless of whether the function call itself succeeded or not). Further calls to
|
before returning (regardless of whether the function call itself succeeded or not). Further calls to
|
||||||
<function>sd_notify()</function> will then fail, and the variable is no longer inherited by child
|
<function>sd_notify()</function> will then silently do nothing, and the variable is no longer inherited
|
||||||
processes.</para>
|
by child processes.</para>
|
||||||
|
|
||||||
<para>The <parameter>state</parameter> parameter should contain a newline-separated list of variable
|
<para>The <parameter>state</parameter> 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
|
assignments, similar in style to an environment block. A trailing newline is implied if none is
|
||||||
|
|
Loading…
Reference in a new issue