提交 b9255c20 编写于 作者: B Bernard Xiong

[finsh] Remove chdir feature in msh

上级 7323916c
......@@ -368,7 +368,6 @@ int msh_exec(char *cmd, rt_size_t length)
/* Exec sequence:
* 1. built-in command
* 2. module(if enabled)
* 3. chdir to the directry(if possible)
*/
if (_msh_exec_cmd(cmd, length, &cmd_ret) == 0)
{
......@@ -386,12 +385,6 @@ int msh_exec(char *cmd, rt_size_t length)
{
return 0;
}
/* change to this directory */
if (chdir(cmd) == 0)
{
return 0;
}
#endif
#if defined(RT_USING_LWP) && defined(RT_USING_DFS)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册