Skip to content

Commit

Permalink
Merge pull request #292 from jeckersb/test-install-t-dev-null
Browse files Browse the repository at this point in the history
lsm: send test_install_t chcon output to /dev/null
  • Loading branch information
cgwalters authored Jan 31, 2024
2 parents 2ef5b3d + 4616a8c commit 364ab0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/lsm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ fn test_install_t() -> Result<bool> {
let st = Command::new("chcon")
.args(["-t", "invalid_bootcinstall_testlabel_t"])
.arg(tmpf.path())
.stderr(std::process::Stdio::null())
.status()?;
Ok(st.success())
}
Expand Down

0 comments on commit 364ab0f

Please sign in to comment.