update apps/shell/src/shcmd.c.
This commit is contained in:
parent
71144b4a1e
commit
5c1c24137f
|
@ -85,7 +85,7 @@ static int OsStrSeparateTabStrGet(const char **tabStr, CmdParsed *parsed, unsign
|
||||||
if ((strlen(shiftStr) == 0) || (tempStr[strlen(tempStr) - 1] != shiftStr[strlen(shiftStr) - 1])) {
|
if ((strlen(shiftStr) == 0) || (tempStr[strlen(tempStr) - 1] != shiftStr[strlen(shiftStr) - 1])) {
|
||||||
*tabStr = "";
|
*tabStr = "";
|
||||||
} else {
|
} else {
|
||||||
if (OsCmdTokenSplit(shiftStr, ' ', parsed)) {
|
if (OsCmdParse(shiftStr, parsed)) {
|
||||||
free(tempStr);
|
free(tempStr);
|
||||||
return (int)SH_ERROR;
|
return (int)SH_ERROR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue