From f1a090b13648b19e31b03f10973be176b5b16d14 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 5 Apr 2024 13:43:10 +0200 Subject: [PATCH] man: sd_notify() does not fail if var is unset --- man/sd_notify.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3