From 1c8def356d33d596f4f17179bea98717e20967b2 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Wed, 19 Aug 2020 23:35:42 +0300 Subject: [PATCH] log readlink errors instead of fail Related #447 and #374 --- nav.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nav.go b/nav.go index 173402b..8115c6c 100644 --- a/nav.go +++ b/nav.go @@ -69,7 +69,7 @@ func readdir(path string) ([]*file, error) { } linkTarget, err = os.Readlink(fpath) if err != nil { - return files, err + log.Printf("reading link target: %s", err) } }