fix last commit: the filename var was not ment to be removed, sorry
This commit is contained in:
parent
15a77c4c2e
commit
d85987aeeb
|
@ -266,6 +266,8 @@ impl ChunkStore {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let filename = entry.file_name();
|
||||||
|
|
||||||
let lock = self.mutex.lock();
|
let lock = self.mutex.lock();
|
||||||
|
|
||||||
if let Ok(stat) = fstatat(dirfd, filename, nix::fcntl::AtFlags::AT_SYMLINK_NOFOLLOW) {
|
if let Ok(stat) = fstatat(dirfd, filename, nix::fcntl::AtFlags::AT_SYMLINK_NOFOLLOW) {
|
||||||
|
|
Loading…
Reference in New Issue