local: Downgrade "invalid cross-device link: trying copy" to debug - Fixes #1875

This commit is contained in:
Nick Craig-Wood 2018-02-28 21:27:34 +00:00
parent 77f344a69d
commit fdebf9da31
1 changed files with 2 additions and 2 deletions

View File

@ -491,7 +491,7 @@ func (f *Fs) Move(src fs.Object, remote string) (fs.Object, error) {
} else if err != nil {
// not quite clear, but probably trying to move a file across file system
// boundaries. Copying might still work.
fs.Errorf(src, "Can't move: %v: trying copy", err)
fs.Debugf(src, "Can't move: %v: trying copy", err)
return nil, fs.ErrorCantMove
}
@ -545,7 +545,7 @@ func (f *Fs) DirMove(src fs.Fs, srcRemote, dstRemote string) error {
} else if err != nil {
// not quite clear, but probably trying to move directory across file system
// boundaries. Copying might still work.
fs.Errorf(src, "Can't move dir: %v: trying copy", err)
fs.Debugf(src, "Can't move dir: %v: trying copy", err)
return fs.ErrorCantDirMove
}
return nil