From 5d4cf5a87d841348963e5f1385427c76a6ca9f16 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Tue, 30 Jan 2024 01:59:59 +0800 Subject: [PATCH] man/systemd-notify: don't say "the latter" if more than 2 options --- man/systemd-notify.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/man/systemd-notify.xml b/man/systemd-notify.xml index 54fde9b4f5..edbd0b9bf5 100644 --- a/man/systemd-notify.xml +++ b/man/systemd-notify.xml @@ -119,12 +119,12 @@ - Inform the service manager about the main PID of the service. Takes a PID as - argument. If the argument is specified as auto or omitted, the PID of the process - that invoked systemd-notify is used, except if that's the service manager. If the + Inform the service manager about the main PID of the service. Takes a PID as argument. + If the argument is specified as auto or omitted, the PID of the process that + invoked systemd-notify is used, except if that's the service manager. If the argument is specified as self, the PID of the systemd-notify command itself is used, and if parent is specified the calling process' PID is - used — even if it is the service manager. The latter is equivalent to systemd-notify + used — even if it is the service manager. is equivalent to systemd-notify MAINPID=$PID. For details about the semantics of this option see sd_notify3.