forked from TrueCloudLab/rclone
local: add error message for cross file system moves
This commit is contained in:
parent
085c690798
commit
8e2213fbbd
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue