summaryrefslogtreecommitdiff
path: root/man/systemd-analyze.xml
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-04-06 12:15:33 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-04-06 23:16:02 +0900
commitcae7c282721ce13fc1405fc834382d3177a9b83d (patch)
tree38969e71fb9b873d3b28369d42f4079086488211 /man/systemd-analyze.xml
parent2f88f2936c5948f41123eafe4e6939058bc3be60 (diff)
downloadsystemd-cae7c282721ce13fc1405fc834382d3177a9b83d.tar.gz
analyze: Fix verify exit status regression
Previously, systemd-analyze verify would return 0 even if warnings were raised during analysis of the specified units or their dependencies. With 3cc3dc7, verify was changed to return 1 when warnings were raised. This commit changes the default mode to _RECURSIVE_ERRORS_INVALID so that verify returns zero again by default when warnings are raised.
Diffstat (limited to 'man/systemd-analyze.xml')
-rw-r--r--man/systemd-analyze.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml
index 7baa1794d7..97290d479b 100644
--- a/man/systemd-analyze.xml
+++ b/man/systemd-analyze.xml
@@ -819,10 +819,12 @@ $ systemd-analyze verify /tmp/source:alias.service
<listitem><para>Control verification of units and their dependencies and whether
<command>systemd-analyze verify</command> exits with a non-zero process exit status or not. With
<command>yes</command>, return a non-zero process exit status when warnings arise during verification
- of either the specified unit or any of its associated dependencies. This is the default. With
- <command>no</command>, return a non-zero process exit status when warnings arise during verification
- of only the specified unit. With <command>one</command>, return a non-zero process exit status when
- warnings arise during verification of either the specified unit or its immediate dependencies. </para></listitem>
+ of either the specified unit or any of its associated dependencies. With <command>no</command>,
+ return a non-zero process exit status when warnings arise during verification of only the specified
+ unit. With <command>one</command>, return a non-zero process exit status when warnings arise during
+ verification of either the specified unit or its immediate dependencies. If this option is not
+ specified, zero is returned as the exit status regardless whether warnings arise during verification
+ or not.</para></listitem>
</varlistentry>
<varlistentry>