nixos/manual: Clarify execute exit status

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
tljuniper 2022-04-11 07:53:04 +02:00 committed by Anna Gillert
parent f7e89a59da
commit ed945aeb6e
2 changed files with 3 additions and 3 deletions

View File

@ -166,7 +166,7 @@ The following methods are available on machine objects:
command as a whole will fail. command as a whole will fail.
- For pipelines, the last non-zero exit status will be returned - For pipelines, the last non-zero exit status will be returned
(if there is one, zero will be returned otherwise). (if there is one; otherwise zero will be returned).
- Dereferencing unset variables fails the command. - Dereferencing unset variables fails the command.

View File

@ -291,8 +291,8 @@ start_all()
<listitem> <listitem>
<para> <para>
For pipelines, the last non-zero exit status will be For pipelines, the last non-zero exit status will be
returned (if there is one, zero will be returned returned (if there is one; otherwise zero will be
otherwise). returned).
</para> </para>
</listitem> </listitem>
<listitem> <listitem>