diff options
| author | Tom Rini <[email protected]> | 2023-01-12 10:15:24 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-01-12 10:15:24 -0500 |
| commit | f58885d002302b8047446a6a15f7376bb7b1ea32 (patch) | |
| tree | b87608f2330d6190c3dcfad66eba8e9da5c47de2 /doc/usage/cmd | |
| parent | ee4f86cc042129abf1b16fcfbf4fc705b03375b6 (diff) | |
| parent | 85fd48984e670d45eddd86710aa47c38baa738ca (diff) | |
Merge branch '2023-01-11-assorted-general-updates'
- Assorted Kconfig cleanups, code clean ups, env+ubi updates, correct
return value propagation out of environment scripts, and update CI to
latest "jammy" tag.
Diffstat (limited to 'doc/usage/cmd')
| -rw-r--r-- | doc/usage/cmd/exit.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/usage/cmd/exit.rst b/doc/usage/cmd/exit.rst index 769223c4775..3edb12809ce 100644 --- a/doc/usage/cmd/exit.rst +++ b/doc/usage/cmd/exit.rst @@ -37,4 +37,6 @@ executed. Return value ------------ -$? is always set to 0 (true). +$? is default set to 0 (true). In case zero or positive integer parameter +is passed to the command, the return value is the parameter value. In case +negative integer parameter is passed to the command, the return value is 0. |
