From 9f8c4bc65a903967e8bb525ea70222fdf0031629 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 19 Sep 2025 17:04:53 +0200 Subject: [PATCH] man/systemd-notify: add a note on return value The options `--booted` is compared with the command `systemctl is-system-running`, but the return values have differnt meanings and it is not a drop-in. --- man/systemd-notify.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/systemd-notify.xml b/man/systemd-notify.xml index b64610dbba..0e0cc6cdd0 100644 --- a/man/systemd-notify.xml +++ b/man/systemd-notify.xml @@ -179,8 +179,8 @@ sd_booted3. An alternate way to check for this state is to call systemctl1 with - the is-system-running command. It will return offline if the - system was not booted with systemd. + the is-system-running command. It will output offline if the + system was not booted with systemd, though the return value has a different meaning.