diff --git a/lib/model/rwfolder.go b/lib/model/rwfolder.go index 5ff00bc7d..8bf97769b 100644 --- a/lib/model/rwfolder.go +++ b/lib/model/rwfolder.go @@ -1386,7 +1386,7 @@ func (f *sendReceiveFolder) performFinish(state *sharedPullerState) error { // sweep is complete. As we do retries, we'll queue the scan // for this file up to ten times, but the last nine of those // scans will be cheap... - go f.Scan([]string{state.curFile.Name}) + go f.Scan([]string{state.file.Name}) return fmt.Errorf("file modified but not rescanned; will try again later") }