ksud: block stderr of installer script

This commit is contained in:
tiann
2023-01-05 18:46:56 +08:00
parent 4d099b9273
commit edd2f030b8

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(())