mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
Merge pull request #2539 from buinsky/master
Fix deleting folders on WinXP (fixes #2522)
This commit is contained in:
commit
596c4b77e8
1
AUTHORS
1
AUTHORS
@ -71,4 +71,5 @@ Tully Robinson <tully@tojr.org>
|
||||
Tyler Brazier <tyler@tylerbrazier.com>
|
||||
Veeti Paananen <veeti.paananen@rojekti.fi>
|
||||
Vil Brekin <vilbrekin@gmail.com>
|
||||
Victor Buinsky <vix.booja@tut.by>
|
||||
Yannic A. <eipiminusone+github@gmail.com> <eipiminus1@users.noreply.github.com>
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user