lib/model: Handle symlink deletion on windows (fixes #6972) (#6976)

This commit is contained in:
Simon Frei 2020-09-10 08:25:44 +02:00 committed by GitHub
parent 56d48d341f
commit 286698ccb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1986,7 +1986,7 @@ func (f *sendReceiveFolder) checkToBeDeleted(file, cur protocol.FileInfo, hasCur
return err
}
if fs.IsNotExist(err) {
if hasCur && !cur.Deleted {
if hasCur && !cur.Deleted && !cur.IsUnsupported() {
scanChan <- file.Name
return errModified
}