mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-15 19:24:59 +08:00
Update msh.c
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user