From: Zbigniew Jędrzejewski-Szmek Date: Wed, 28 May 2025 13:25:23 +0000 (+0200) Subject: man/systemd-analyze: rewrite "Exit status" section X-Git-Tag: v258-rc1~460^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bfdba3cb1f8148ac9218719bf0a93f371128404;p=thirdparty%2Fsystemd.git man/systemd-analyze: rewrite "Exit status" section --- diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml index e61c557fe9b..7bdf850c60e 100644 --- a/man/systemd-analyze.xml +++ b/man/systemd-analyze.xml @@ -1732,17 +1732,20 @@ LEGEND: M → sys_vendor (LENOVO) ┄ F → product_family (ThinkPad X1 Carbon G Exit status - For most commands, 0 is returned on success, and a non-zero failure code otherwise. - - With the verb compare-versions, in the two-argument form, - 12, 0, 11 is returned if the second - version string is respectively larger, equal, or smaller to the first. In the three-argument form, - 0 or 1 if the condition is respectively true or false. - - In case of the has-tpm2 command returns 0 if a TPM2 device is discovered, - supported and used by firmware, driver, and userspace (i.e. systemd). Otherwise, returns the OR - combination of the value 1 (in case firmware support is missing), 2 (in case driver support is missing) - and 4 (in case userspace support is missing). If no TPM2 support is available at all, value 7 is hence + For most verbs, 0 is returned on success, and a non-zero failure code + otherwise. + + For the verb compare-versions, in the two-argument form, + 12, 0, or 11 are returned if the second + version string is respectively larger than, equal to, or smaller than the first. In the three-argument + form, 0 or 1 are returned when the condition is respectively + true or false. + + For the verb has-tpm2, 0 is returned if a TPM2 device is + discovered, supported, and used by firmware, driver, and userspace (i.e. systemd). + Otherwise, the OR combination of the value 1 (in case firmware support is missing), + 2 (in case driver support is missing), and 4 (in case userspace + support is missing). If no TPM2 support is available at all, value 7 is hence returned.