Skip to content

Commit 364ab0f

Browse files
authored
Merge pull request #292 from jeckersb/test-install-t-dev-null
lsm: send test_install_t chcon output to /dev/null
2 parents 2ef5b3d + 4616a8c commit 364ab0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/lsm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ fn test_install_t() -> Result<bool> {
3939
let st = Command::new("chcon")
4040
.args(["-t", "invalid_bootcinstall_testlabel_t"])
4141
.arg(tmpf.path())
42+
.stderr(std::process::Stdio::null())
4243
.status()?;
4344
Ok(st.success())
4445
}

0 commit comments

Comments
 (0)