log readlink errors instead of fail

Related #447 and #374
This commit is contained in:
Gokcehan 2020-08-19 23:35:42 +03:00
parent 25c2f037cb
commit 1c8def356d

2
nav.go
View File

@ -69,7 +69,7 @@ func readdir(path string) ([]*file, error) {
} }
linkTarget, err = os.Readlink(fpath) linkTarget, err = os.Readlink(fpath)
if err != nil { if err != nil {
return files, err log.Printf("reading link target: %s", err)
} }
} }