NULL,
}, {
"closefrom_override", T_FLAG,
- "If set, users may override the value of `closefrom' with the -O option",
+ "If set, users may override the value of `closefrom' with the -C option",
NULL,
}, {
"env_check", T_LIST|T_BOOL,
"File descriptors >= %d will be closed before executing a command"
closefrom_override
T_FLAG
- "If set, users may override the value of `closefrom' with the -O option"
+ "If set, users may override the value of `closefrom' with the -C option"
env_check
T_LIST|T_BOOL
"Environment variables to check for sanity:"
/* Check for -C overriding def_closefrom. */
if (user_closefrom >= 0 && user_closefrom != def_closefrom) {
if (!def_closefrom_override)
- errorx(1, "you are not permitted to use the -O option");
+ errorx(1, "you are not permitted to use the -C option");
else
def_closefrom = user_closefrom;
}
if (NewArgv[1] == NULL)
usage(1);
if ((user_closefrom = atoi(NewArgv[1])) < 3) {
- warningx("the argument to -O must be at least 3");
+ warningx("the argument to -C must be at least 3");
usage(1);
}
NewArgc--;
=item closefrom_override
-If set, the user may use B<sudo>'s B<-O> option which
+If set, the user may use B<sudo>'s B<-C> option which
overrides the default starting point at which B<sudo> begins
closing open file descriptors. This flag is I<off> by default.