mirror of
https://github.com/syncthing/syncthing.git
synced 2026-11-21 17:41:31 -08:00
Fix deleting folders on WinXP (fixes #2522)
This commit is contained in:
1 parent
45535c0f5a
commit
05a31c2686
2 files changed
+2
No files matched your search
@@ -71,4 +71,5 @@ Tully Robinson <[email protected]>
|
||||
Tyler Brazier <[email protected]>
|
||||
Veeti Paananen <[email protected]>
|
||||
Vil Brekin <[email protected]>
|
||||
Victor Buinsky <[email protected]>
|
||||
Yannic A. <[email protected]> <[email protected]>
|
||||
@@ -716,6 +716,7 @@ func (p *rwFolder) deleteDir(file protocol.FileInfo) {
|
||||
osutil.InWritableDir(osutil.Remove, filepath.Join(realName, file))
|
||||
}
|
||||
}
|
||||
dir.Close()
|
||||
}
|
||||
|
||||
err = osutil.InWritableDir(osutil.Remove, realName)
|
||||
|
||||
Reference in new issue
Block a user