fix loop
This commit is contained in:
@@ -62,6 +62,7 @@ func (i *InodeToPath) EnsurePath(path util.FullPath, isDirectory bool) bool {
|
|||||||
}
|
}
|
||||||
if i.EnsurePath(util.FullPath(dir), true) {
|
if i.EnsurePath(util.FullPath(dir), true) {
|
||||||
i.Lookup(path, time.Now().Unix(), isDirectory, false, 0, false)
|
i.Lookup(path, time.Now().Unix(), isDirectory, false, 0, false)
|
||||||
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
|||||||
Reference in New Issue
Block a user