!67 【轻量级 PR】:update apps/shell/src/shcmd.c.

Merge pull request !67 from 冷钦街/N/A
This commit is contained in:
openharmony_ci 2021-03-24 17:31:47 +08:00 committed by Gitee
commit a50adf047a
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;
}