mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-17 02:25:14 +00:00
Fix deleting folders on WinXP (fixes #2522)
This commit is contained in:
parent
45535c0f5a
commit
05a31c2686
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