Skip to content

Commit

Permalink
ksud: Fix incorrect dir copy
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Feb 25, 2024
1 parent 56dbc98 commit 40d7bc6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion userspace/ksud/src/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,9 @@ fn _install_module(zip: &str) -> Result<()> {
fs_extra::dir::copy(
defs::MODULE_DIR,
module_update_tmp_dir,
&fs_extra::dir::CopyOptions::new().overwrite(true),
&fs_extra::dir::CopyOptions::new()
.overwrite(true)
.content_only(true),
)?;
} else {
utils::copy_sparse_file(modules_img, tmp_module_img, true).with_context(|| {
Expand Down

0 comments on commit 40d7bc6

Please sign in to comment.