update apps/shell/src/shcmd.c.

This commit is contained in:
冷钦街 2021-02-05 12:24:45 +08:00 committed by Gitee
parent 71144b4a1e
commit 5c1c24137f
1 changed files with 1 additions and 1 deletions

View File

@ -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])) {
*tabStr = "";
} else {
if (OsCmdTokenSplit(shiftStr, ' ', parsed)) {
if (OsCmdParse(shiftStr, parsed)) {
free(tempStr);
return (int)SH_ERROR;
}