diff --git a/lib/src/lsm.rs b/lib/src/lsm.rs index f2271e762..74c9feb90 100644 --- a/lib/src/lsm.rs +++ b/lib/src/lsm.rs @@ -39,6 +39,7 @@ fn test_install_t() -> Result { let st = Command::new("chcon") .args(["-t", "invalid_bootcinstall_testlabel_t"]) .arg(tmpf.path()) + .stderr(std::process::Stdio::null()) .status()?; Ok(st.success()) }