The exit status used when the \fB\-n\fP option is in use, and the
conflicting lock exists, or the \fB\-w\fP option is in use,
and the timeout is reached. The default value is \fB1\fR.
+The \fInumber\fR has to be in the range of 0 to 255.
.TP
.BR \-F , " \-\-no\-fork"
Do not fork before executing
.B \-w
which report a failure to acquire the lock with a exit status given by the
.B \-E
-option, or 1 by default.
+option, or 1 by default. The exit status given by
+.B \-E has to be in the range of 0 to 255.
.PP
When using the \fIcommand\fR variant, and executing the child worked, then
the exit status is that of the child command.
case 'E':
conflict_exit_code = strtos32_or_err(optarg,
_("invalid exit code"));
+ if (conflict_exit_code < 0 || conflict_exit_code > 255)
+ errx(EX_USAGE, _("exit code out of range (expected 0 to 255)"));
break;
case OPT_VERBOSE:
verbose = 1;