am 3277dc26: am 2d03a498: Merge "correct the setenv option judging condition"

* commit '3277dc269820e4d8785ea46d6a196145e7c88b78':
  correct the setenv option judging condition
This commit is contained in:
Colin Cross 2014-05-16 20:51:15 +00:00 committed by Android Git Automerger
commit f630960088

View file

@ -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;
}