aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src')
-rw-r--r--crates/shirabe/src/package/archiver/zip_archiver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/package/archiver/zip_archiver.rs b/crates/shirabe/src/package/archiver/zip_archiver.rs
index 5604c07d..2ef9473e 100644
--- a/crates/shirabe/src/package/archiver/zip_archiver.rs
+++ b/crates/shirabe/src/package/archiver/zip_archiver.rs
@@ -70,7 +70,7 @@ impl ArchiverInterface for ZipArchiver {
}
// Ensure to preserve the permission umasks for the filepath in the archive.
- let perms = fileperms(&filepath);
+ let perms = fileperms(&filepath)?;
if filepath.is_dir() {
zip.add_empty_dir(