Don't output a <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) (#107)

This commit is contained in:
Ana Hobden 2022-12-12 08:18:39 -08:00 committed by GitHub
parent d3b425a258
commit 1a90f50962
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,7 @@ impl Action for CreateGroup {
.args([".", "-read", &format!("/Groups/{name}")])
.stdin(std::process::Stdio::null())
.stdout(std::process::Stdio::null())
.stderr(std::process::Stdio::piped())
.status()
.await
.map_err(ActionError::Command)?