1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-08-02 11:30:28 +00:00
This commit is contained in:
Stephen Chung 2016-07-08 21:11:38 +00:00 committed by GitHub
commit d68d0c987a

View file

@ -50,7 +50,7 @@ func Check(root string, dh *DirectoryHierarchy, keywords []string) (*Result, err
creator.curSet = nil
}
case RelativeType, FullType:
info, err := os.Lstat(filepath.Join(root, e.Path()))
info, err := os.Lstat(e.Path())
if err != nil {
return nil, err
}