* commit 'f630960088b2fbdb7f147bf9f7a137850df4c89c': correct the setenv option judging condition
This commit is contained in:
commit
14b667aa91
1 changed files with 1 additions and 1 deletions
|
@ -760,7 +760,7 @@ static void parse_line_service(struct parse_state *state, int nargs, char **args
|
|||
break;
|
||||
case K_setenv: { /* name value */
|
||||
struct svcenvinfo *ei;
|
||||
if (nargs < 2) {
|
||||
if (nargs < 3) {
|
||||
parse_error(state, "setenv option requires name and value arguments\n");
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue