Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3a4676c authored by Gavin.Chang's avatar Gavin.Chang Committed by Colin Cross
Browse files

correct the setenv option judging condition

Change-Id: I10ed6275374f572da639f26611f607bf7607905c
parent bc741ac2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
        }