From fdebf9da317e837693b16c2f683bd87974707fee Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 28 Feb 2018 21:27:34 +0000 Subject: [PATCH] local: Downgrade "invalid cross-device link: trying copy" to debug - Fixes #1875 --- backend/local/local.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/local/local.go b/backend/local/local.go index 0b70c0dc8..b810a5078 100644 --- a/backend/local/local.go +++ b/backend/local/local.go @@ -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