mirror of
https://github.com/rclone/rclone.git
synced 2025-01-11 00:40:03 +01:00
local: add error message for cross file system moves
This commit is contained in:
parent
085c690798
commit
8e2213fbbd
@ -484,6 +484,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)
|
||||
return nil, fs.ErrorCantMove
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user