manager: save stderr of installation to log file. fix #723

This commit is contained in:
weishu
2023-07-11 20:10:12 +08:00
parent ec9babea76
commit 37abe48702
3 changed files with 18 additions and 8 deletions

View File

@@ -56,7 +56,6 @@ fn exec_install_script(module_file: &str) -> Result<()> {
.env("KSU_VER_CODE", defs::VERSION_CODE)
.env("OUTFD", "1")
.env("ZIPFILE", realpath)
.stderr(Stdio::null())
.status()?;
ensure!(result.success(), "Failed to install module script");
Ok(())