Clarify docs on $status with and/or/begin/end

See #4311.
This commit is contained in:
Fabian Homborg
2017-08-11 15:05:28 +02:00
committed by Kurtis Rader
parent 4e2b11f2e0
commit 298c580e72
4 changed files with 4 additions and 4 deletions

View File

@@ -16,4 +16,4 @@ switch VALUE; [case [WILDCARD...]; [COMMANDS...]; ...] end
For more information, read the
documentation for the block constructs, such as `if`, `for` and `while`.
The `end` command does not change the current exit status.
The `end` command does not change the current exit status. Instead, the status after it will be the status returned by the most recent command.