ksud: keep pwd after switch mnt ns
This commit is contained in:
@@ -333,6 +333,7 @@ fn _install_module(zip: &str) -> Result<()> {
|
||||
let mut buffer: Vec<u8> = Vec::new();
|
||||
let entry_path = PathBuf::from_str("module.prop")?;
|
||||
let zip_path = PathBuf::from_str(zip)?;
|
||||
let zip_path = zip_path.canonicalize()?;
|
||||
zip_extract_file_to_memory(&zip_path, &entry_path, &mut buffer)?;
|
||||
|
||||
let mut module_prop = HashMap::new();
|
||||
|
||||
Reference in New Issue
Block a user