Fix skipping file access error

This commit is contained in:
nxshock 2023-04-11 10:40:24 +05:00 committed by GitHub
parent 3a37c29de4
commit d334256d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,8 @@ func (b *Config) fileList(fileNames chan FileInfo) {
if b.StopOnAnyError { if b.StopOnAnyError {
return fmt.Errorf("get file info error: %v", err) return fmt.Errorf("get file info error: %v", err)
} }
return nil
} }
file := FileInfo{ file := FileInfo{