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:
parent
30ccc3003e
commit
53d073ec1a
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user