forked from TrueCloudLab/rclone
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
1 changed files with 1 additions and 1 deletions
|
@ -836,7 +836,7 @@ func (o *Object) SetModTime(modTime time.Time) error {
|
||||||
// Dropbox doesn't have a way of doing this so returning this
|
// Dropbox doesn't have a way of doing this so returning this
|
||||||
// error will cause the file to be deleted first then
|
// error will cause the file to be deleted first then
|
||||||
// re-uploaded to set the time.
|
// re-uploaded to set the time.
|
||||||
return fs.ErrorCantSetModTime
|
return fs.ErrorCantSetModTimeWithoutDelete
|
||||||
}
|
}
|
||||||
|
|
||||||
// Storable returns whether this object is storable
|
// Storable returns whether this object is storable
|
||||||
|
|
Loading…
Reference in a new issue