]> git.proxmox.com Git - proxmox-backup.git/commitdiff
fix last commit: the filename var was not ment to be removed, sorry
authorDietmar Maurer <dietmar@proxmox.com>
Sun, 31 Mar 2019 14:16:14 +0000 (16:16 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sun, 31 Mar 2019 14:16:14 +0000 (16:16 +0200)
src/backup/chunk_store.rs

index 689f6fb50d53deb97096ebcbaf11336a71a9fab5..7dfff0af6c60c718c87fa543f691d5b3668c5f57 100644 (file)
@@ -266,6 +266,8 @@ impl ChunkStore {
                 continue;
             }
 
+            let filename = entry.file_name();
+
             let lock = self.mutex.lock();
 
             if let Ok(stat) = fstatat(dirfd, filename, nix::fcntl::AtFlags::AT_SYMLINK_NOFOLLOW) {