forked from lix-project/lix-installer
Don't output a <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) (#107)
This commit is contained in:
parent
d3b425a258
commit
1a90f50962
|
@ -57,6 +57,7 @@ impl Action for CreateGroup {
|
||||||
.args([".", "-read", &format!("/Groups/{name}")])
|
.args([".", "-read", &format!("/Groups/{name}")])
|
||||||
.stdin(std::process::Stdio::null())
|
.stdin(std::process::Stdio::null())
|
||||||
.stdout(std::process::Stdio::null())
|
.stdout(std::process::Stdio::null())
|
||||||
|
.stderr(std::process::Stdio::piped())
|
||||||
.status()
|
.status()
|
||||||
.await
|
.await
|
||||||
.map_err(ActionError::Command)?
|
.map_err(ActionError::Command)?
|
||||||
|
|
Loading…
Reference in a new issue