mirror of
https://github.com/rclone/rclone.git
synced 2025-02-04 04:29:18 +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 {
|
} else if err != nil {
|
||||||
// not quite clear, but probably trying to move a file across file system
|
// not quite clear, but probably trying to move a file across file system
|
||||||
// boundaries. Copying might still work.
|
// boundaries. Copying might still work.
|
||||||
|
fs.Errorf(src, "Can't move: %v: trying copy", err)
|
||||||
return nil, fs.ErrorCantMove
|
return nil, fs.ErrorCantMove
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user