Skip to content

Commit

Permalink
fixup! fix: Set archive directory size to zero.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeMan99 committed Feb 19, 2024
1 parent 48d02b7 commit 0caa6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,8 @@ impl TemplateBuilder {
let create_directory_header = |path: &str| -> io::Result<Header> {
let mut header = Header::new_gnu();
header.set_entry_type(EntryType::Directory);
header.set_size(0);
header.set_path(path)?;
header.set_size(0);
header.set_mtime(mtime);
header.set_mode(0o775);
header.set_uid(1000);
Expand Down

0 comments on commit 0caa6de

Please sign in to comment.