From d334256d0bcfbf4ffc1b76953910e02ecfc53017 Mon Sep 17 00:00:00 2001 From: nxshock Date: Tue, 11 Apr 2023 10:40:24 +0500 Subject: [PATCH] Fix skipping file access error --- backuper.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backuper.go b/backuper.go index e162dc8..30c8960 100644 --- a/backuper.go +++ b/backuper.go @@ -46,6 +46,8 @@ func (b *Config) fileList(fileNames chan FileInfo) { if b.StopOnAnyError { return fmt.Errorf("get file info error: %v", err) } + + return nil } file := FileInfo{