]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: normalize how we issue sd_notify() from PID 1
authorLennart Poettering <lennart@poettering.net>
Tue, 12 Mar 2024 13:33:33 +0000 (14:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 14 Mar 2024 16:20:46 +0000 (17:20 +0100)
commitfb44dc646b59989c1020a551e4721354e74610f1
tree0d92a12855e356c8cbc0aec8e3da3fa075bf1f72
parent6b67cf808a9722b2a5ca34856f951039e655eb24
core: normalize how we issue sd_notify() from PID 1

Always cast to (void) if we ignore the return value.

Always pass the first arg as boolean.

Always prefix the first arg with /* unset_environment= */.
src/core/main.c
src/core/manager.c