diff --git a/core/src/main/groovy/com/muwire/core/files/HasherService.groovy b/core/src/main/groovy/com/muwire/core/files/HasherService.groovy index 532f91b7..de1e2d68 100644 --- a/core/src/main/groovy/com/muwire/core/files/HasherService.groovy +++ b/core/src/main/groovy/com/muwire/core/files/HasherService.groovy @@ -80,7 +80,7 @@ class HasherService { } else if (hashed.add(evt.file)) { File canonical = evt.file.getCanonicalFile() if (canonical.isDirectory()) - executor.execute({processDirectory(canonical)} as Runnable) + executor.execute({processDirectory(evt.file)} as Runnable) else throttlerExecutor.execute({ throttle(evt.file, canonical) } as Runnable) }