lib/model: Don't ignore stat failure in performFinish (#6766)

This commit is contained in:
Simon Frei
2020-06-19 23:47:29 +02:00
committed by GitHub
parent deaccc7f8d
commit 2716898cb9
+2
View File
@@ -1540,6 +1540,8 @@ func (f *sendReceiveFolder) performFinish(file, curFile protocol.FileInfo, hasCu
if err != nil {
return err
}
} else if !fs.IsNotExist(err) {
return err
}
// Replace the original content with the new one. If it didn't work,