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 2022-05-11 12:19:49 +02:00 committed by Thomas Lamprecht
parent 30ccc3003e
commit 53d073ec1a

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
}