This commit is contained in:
Gokcehan committed 2021-02-21 17:48:23 +03:00
1 parent 4c0efdcb41
commit c071e37316
4 files changed
+9 -10

No files matched your search

+1 -1
View File
@@ -250,7 +250,7 @@ func matchFile(s string) (matches []string, longest string) {
f, err := os.Stat(name)
if err != nil {
fl, err := os.Lstat(name)
if err == nil && fl.Mode() & os.ModeSymlink != 0 {
if err == nil && fl.Mode()&os.ModeSymlink != 0 {
continue
} else {
log.Printf("getting file information: %s", err)