summaryrefslogtreecommitdiff
path: root/man/homectl.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-04-08 10:34:28 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-05-06 13:58:15 +0200
commite976b34e3b0bc2e0c3f612e7b82b8af2a45147d9 (patch)
tree96df771d98442167134274f51888d61489a59259 /man/homectl.xml
parent31d4c69bd2c3ed35e73213a6994fcdda76b61156 (diff)
downloadsystemd-e976b34e3b0bc2e0c3f612e7b82b8af2a45147d9.tar.gz
homectl,TEST-46: fix test and fix homectl return value, update docs
The usual: the test wasn't testing, so we didn't notice that the command wasn't returning as expected. (cherry picked from commit b9bfa250f2c04caeecd49e54cdbadee3986d64b3)
Diffstat (limited to 'man/homectl.xml')
-rw-r--r--man/homectl.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/homectl.xml b/man/homectl.xml
index 184bdcf6fd..f2858166f7 100644
--- a/man/homectl.xml
+++ b/man/homectl.xml
@@ -846,6 +846,10 @@
<title>Exit status</title>
<para>On success, 0 is returned, a non-zero failure code otherwise.</para>
+
+ <para>When a command is invoked with <command>with</command>, the exit status of the child is
+ propagated. Effectively, <command>homectl</command> will exit without error if the command is
+ successfully invoked <emphasis>and</emphasis> finishes successfully.</para>
</refsect1>
<xi:include href="common-variables.xml" />