fix issue #17, NoSuchKey

This commit is contained in:
m00k 2019-01-04 12:08:05 +01:00
parent d22af6277e
commit 938f8cda19

View File

@ -125,8 +125,9 @@ func (p *Plugin) createSyncJobs() {
if p.Delete {
for _, r := range remote {
found := false
rPath := strings.TrimPrefix(r, p.Target+"/")
for _, l := range local {
if l == r {
if l == rPath {
found = true
break
}