Skip to content

Commit

Permalink
log readlink errors instead of fail
Browse files Browse the repository at this point in the history
Related #447 and #374
  • Loading branch information
gokcehan committed Aug 19, 2020
1 parent 25c2f03 commit 1c8def3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav.go
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 1c8def3

Please sign in to comment.