fix file timestamps in catalog
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
9321bbd1f5
commit
2564b0834f
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue