mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
dropbox: fix repeatedly uploading the same files - fixes #2218
In #2134 and dfd0f4c5a4
some testing
changes got committed by accident which caused this regression.
This patch reverts it to how it was before.
This commit is contained in:
parent
92cfb57fbd
commit
c749cf8d99
@ -836,7 +836,7 @@ func (o *Object) SetModTime(modTime time.Time) error {
|
||||
// Dropbox doesn't have a way of doing this so returning this
|
||||
// error will cause the file to be deleted first then
|
||||
// re-uploaded to set the time.
|
||||
return fs.ErrorCantSetModTime
|
||||
return fs.ErrorCantSetModTimeWithoutDelete
|
||||
}
|
||||
|
||||
// Storable returns whether this object is storable
|
||||
|
Loading…
Reference in New Issue
Block a user