From f0cfe5ff3ad90db1e4186390b05cbc23470a7635 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sun, 19 Jul 2020 17:33:40 +0200 Subject: [PATCH] Index: Skip with continue, not return nil #391 Signed-off-by: Michael Mayer --- internal/photoprism/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/photoprism/index.go b/internal/photoprism/index.go index 59b47a46f..c28ef2919 100644 --- a/internal/photoprism/index.go +++ b/internal/photoprism/index.go @@ -167,7 +167,7 @@ func (ind *Index) Start(opt IndexOptions) fs.Done { for _, f := range related.Files { if ind.files.Ignore(f.RelName(originalsPath), f.ModTime(), opt.Rescan) { - return nil + continue } if done[f.FileName()].Processed() {