cleanup
This commit is contained in:
1 parent
4c0efdcb41
commit
c071e37316
4 files changed
+9
-10
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user