ksud: don't clean update dir, only ensure it exists

This commit is contained in:
weishu
2023-09-02 10:39:40 +08:00
parent 64cf6eb8b9
commit 2d96aaa28f

View File

@@ -438,7 +438,7 @@ fn _install_module(zip: &str) -> Result<()> {
} }
// ensure modules_update exists // ensure modules_update exists
ensure_clean_dir(module_update_tmp_dir)?; ensure_dir_exists(module_update_tmp_dir)?;
// mount the modules_update.img to mountpoint // mount the modules_update.img to mountpoint
println!("- Mounting image"); println!("- Mounting image");