mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
lib/model: Don't ignore stat failure in performFinish (#6766)
This commit is contained in:
parent
deaccc7f8d
commit
2716898cb9
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user