提交 1c8693c8 编写于 作者: R roamboy

Update msh.c

上级 1df4c1b9
......@@ -276,7 +276,7 @@ int msh_exec(char* cmd, rt_size_t length)
while(*cmd != ' ')
{
if (*cmd == 0) break;
cmd++;
cmd++;
}
if (*cmd == ' ') *cmd = 0;
rt_kprintf("%s: command not found.\n", argv[0]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册