version 1.13, 2006/05/28 05:29:54 |
version 1.14, 2007/05/20 23:15:57 |
|
|
.Ar name Ns = Ns Ar value |
.Ar name Ns = Ns Ar value |
pair per line. |
pair per line. |
.Sh DIAGNOSTICS |
.Sh DIAGNOSTICS |
If the |
|
.Ar utility |
|
is invoked, the exit status of |
|
.Nm |
.Nm |
shall be the exit status of |
exits with one of the following values: |
.Ar utility ; |
|
otherwise, the |
|
.Nm |
|
utility exits with one of the following values: |
|
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It 0 |
.It 0 |
The |
.Ar utility |
|
was invoked and completed successfully. |
|
In this case the exit code is returned by the utility itself, not |
|
.Nm . |
|
If no utility was specified, then |
.Nm |
.Nm |
utility completed successfully. |
completed successfully and returned the exit code itself. |
.It 1-125 |
.It 1 |
The exit code returned from the |
An invalid command line option was passed to |
.Ar utility . |
.Nm . |
|
.It 1\(en125 |
|
.Ar utility |
|
was invoked but failed in some way; |
|
see its manual page for more information. |
|
In this case the exit code is returned by the utility itself, not |
|
.Nm . |
.It 126 |
.It 126 |
The utility specified by |
|
.Ar utility |
.Ar utility |
was found, but could not be invoked. |
was found but could not be invoked. |
.It 127 |
.It 127 |
The utility specified by |
|
.Ar utility |
.Ar utility |
could not be found. |
could not be found. |
.El |
.El |