lib/model: Scan removed dirs when reverting recv-enc (fixes #7706) (#7797)

This commit is contained in:
Simon Frei 2021-07-03 13:46:24 +02:00 committed by GitHub
parent 82741ad207
commit a63d3ee625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,5 +111,6 @@ func (f *receiveEncryptedFolder) revertHandleDirs(dirs []string, snap *db.Snapsh
if err := f.deleteDirOnDisk(dir, snap, scanChan); err != nil {
f.newScanError(dir, fmt.Errorf("deleting unexpected dir: %w", err))
}
scanChan <- dir
}
}