mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 09:04:52 +01:00
fs: audit the existing call sides for operations.DeleteFile and try to figure out whether they should be obeying --backup-dir found 1 such case
This commit is contained in:
parent
d994675e12
commit
a27c8d73c5
@ -420,7 +420,7 @@ func (s *syncCopyMove) pairChecker(in *pipe, out *pipe, fraction int, wg *sync.W
|
||||
return
|
||||
}
|
||||
} else {
|
||||
deleteFileErr := operations.DeleteFile(s.ctx, src)
|
||||
deleteFileErr := operations.DeleteFileWithBackupDir(s.ctx, src, s.backupDir)
|
||||
s.processError(deleteFileErr)
|
||||
s.logger(s.ctx, operations.TransferError, pair.Src, pair.Dst, deleteFileErr)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user