Gobble a specific stderr which was erroring when it shouldn't (#98)

This commit is contained in:
Ana Hobden 2022-12-07 11:29:23 -08:00 committed by GitHub
parent f58280a11a
commit 0e4fcd3c3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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