datastore: minor cleanup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Wolfgang Bumiller authored and Thomas Lamprecht committed 2022-05-12 09:33:50 +02:00
1 parent 30ccc3003e
commit 53d073ec1a
1 file changed
+1 -2
+1 -2
View File
@@ -381,8 +381,7 @@ impl BackupDir {
}
pub fn protected_file(&self) -> PathBuf {
let mut path = self.store.base_path();
path.push(self.relative_path());
let mut path = self.full_path();
path.push(".protected");
path
}