diff --git a/comp.go b/comp.go index 05f31c7..2512178 100644 --- a/comp.go +++ b/comp.go @@ -114,6 +114,7 @@ func matchExec(s string) (matches []string, longest string) { f, err = os.Stat(filepath.Join(p, f.Name())) if err != nil { log.Printf("getting file information: %s", err) + continue } if !f.Mode().IsRegular() || f.Mode()&0111 == 0 {