pxar: include .pxarexclude files in the archive

The documentation states:
.pxarexclude files are treated as regular files and will be included in the
backup archive.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Fabian Ebner 2020-11-12 10:03:51 +01:00 committed by Wolfgang Bumiller
parent 874bd5454d
commit 189cdb7427

View File

@ -425,10 +425,6 @@ impl<'a, 'b> Archiver<'a, 'b> {
continue;
}
if file_name_bytes == b".pxarexclude" {
continue;
}
let os_file_name = OsStr::from_bytes(file_name_bytes);
assert_single_path_component(os_file_name)?;
let full_path = self.path.join(os_file_name);