ksud: block stderr of installer script

This commit is contained in:
tiann
2023-01-05 18:46:56 +08:00
parent 89288a0c59
commit bc9daf1583

View File

@@ -29,6 +29,7 @@ fn exec_install_script(module_file: &str) -> Result<()> {
.args(["-c", INSTALL_MODULE_SCRIPT])
.env("OUTFD", "1")
.env("ZIPFILE", realpath)
.stderr(Stdio::null())
.status()?;
ensure!(result.success(), "install module script failed!");
Ok(())