From e40c3c85606d16ea8a1474c626a9ea21c8b53e59 Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Mon, 13 Apr 2026 21:48:07 +0200 Subject: [PATCH] do not pass erred files on --- filesmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesmap.go b/filesmap.go index d254dff..1dc3759 100644 --- a/filesmap.go +++ b/filesmap.go @@ -48,13 +48,13 @@ func (fm *FilesMap) FileHashingWorker(wg *sync.WaitGroup) { hash, err := calculateFileHash(file.path) fm.fileHashingBar.IncrInt64(file.size) - fm.FilesHashed <- file if err != nil { fmt.Fprintf(fm.progress, "Error calculating Hash for file %s: %v\n", file.path, err) continue } file.hash = hash + fm.FilesHashed <- file } wg.Done() }