summaryrefslogtreecommitdiffstats
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-04-08 20:21:50 +0200
commitb9bfa250f2c04caeecd49e54cdbadee3986d64b3 (patch)
tree9244687c5ca49cbf833fde312d61875a8bd8f1c1 /man/homectl.xml
parentTEST-44: fix test (diff)
downloadsystemd-b9bfa250f2c04caeecd49e54cdbadee3986d64b3.tar.xz
systemd-b9bfa250f2c04caeecd49e54cdbadee3986d64b3.zip
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.
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" />