[Finsh] remove the .mo display when command is not found.
This commit is contained in:
parent
6c31900236
commit
32a6f5b730
|
@ -242,7 +242,7 @@ int msh_exec_module(char* cmd_line, int size)
|
|||
}
|
||||
else
|
||||
{
|
||||
rt_kprintf("%s: program not found.\n", pg_name);
|
||||
rt_kprintf("%s: program not found.\n", cmd_line);
|
||||
}
|
||||
|
||||
rt_free(pg_name);
|
||||
|
|
Loading…
Reference in New Issue