Merge "Fix installd command line parser"
This commit is contained in:
commit
754f16fcf4
@ -255,8 +255,10 @@ static int execute(int s, char cmd[BUFFER_MAX])
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (*cmd) {
|
||||||
cmd++;
|
cmd++;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for (i = 0; i < sizeof(cmds) / sizeof(cmds[0]); i++) {
|
for (i = 0; i < sizeof(cmds) / sizeof(cmds[0]); i++) {
|
||||||
if (!strcmp(cmds[i].name,arg[0])) {
|
if (!strcmp(cmds[i].name,arg[0])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user