提交 8675abce 编写于 作者: L lengqinjie

fix(shell):cp命令执行时 通配出多个源文件时错误提示不正确

close #I4JETR
Signed-off-by: Nlengqinjie <15390014138@163.com>
上级 b7de7f60
......@@ -856,7 +856,7 @@ INT32 OsShellCmdCp(INT32 argc, const CHAR **argv)
(VOID)OsWildcardExtractDirectory(srcCopy, &count, CP_COUNT);
free(srcCopy);
if (count > 1) {
PRINTK("cp error : %s is not a directory.\n", drcFullPath);
PRINTK("cp error : Can not copy two or more files.\n");
goto errout_with_path;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册