fix file timestamps in catalog

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-06-16 11:25:31 +02:00
parent 9321bbd1f5
commit 2564b0834f
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ impl<'a, 'b> Archiver<'a, 'b> {
let file_size = stat.st_size as u64;
if let Some(ref mut catalog) = self.catalog {
catalog.add_file(c_file_name, file_size, metadata.stat.mtime)?;
catalog.add_file(c_file_name, file_size, stat.st_mtime as u64)?;
}
let offset: LinkOffset =