skip files with stat errors while reading dirs

cc #741 #769
This commit is contained in:
Gokcehan 2022-03-19 00:26:42 +03:00
parent 076ab8ea9d
commit c712d304f2

3
nav.go
View File

@ -65,7 +65,8 @@ func readdir(path string) ([]*file, error) {
continue continue
} }
if err != nil { if err != nil {
return files, err log.Printf("getting file information: %s", err)
continue
} }
var linkState linkState var linkState linkState