diff --git a/internal/lookup/symlinks.go b/internal/lookup/symlinks.go index 41a0cf0e..aa4c147e 100644 --- a/internal/lookup/symlinks.go +++ b/internal/lookup/symlinks.go @@ -117,9 +117,5 @@ func (p symlink) Locate(pattern string) ([]string, error) { seen[target] = true targets = append(targets, target) } - - if len(targets) != 1 { - return nil, fmt.Errorf("failed to locate patern %q: %w; failed to uniquely resolve symlink: %v", pattern, errNotFound, candidates) - } return targets, err }