Unverified 提交 23b44ba3 作者: Steven Allen 提交者: GitHub

Merge pull request #5485 from schomatis/fix/commands/files-cp-wrap-flush-error

files cp: wrap flush error
...@@ -344,7 +344,7 @@ var filesCpCmd = &oldcmds.Command{ ...@@ -344,7 +344,7 @@ var filesCpCmd = &oldcmds.Command{
if flush { if flush {
err := mfs.FlushPath(node.FilesRoot, dst) err := mfs.FlushPath(node.FilesRoot, dst)
if err != nil { if err != nil {
res.SetError(err, cmdkit.ErrNormal) res.SetError(fmt.Errorf("cp: cannot flush the created file %s: %s", dst, err), cmdkit.ErrNormal)
return return
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论