Skip to content

Commit 9dbb580

Browse files
Merge branch 'fix-missing-stderr-wireguard-go-rs'
2 parents 6274589 + c9be17a commit 9dbb580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wireguard-go-rs/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ fn exec(mut command: impl BorrowMut<Command>) -> anyhow::Result<String> {
285285
let stdout = str::from_utf8(&output.stdout).unwrap_or("Invalid UTF-8");
286286

287287
if !output.status.success() {
288-
let stderr = str::from_utf8(&output.stdout).unwrap_or("Invalid UTF-8");
288+
let stderr = str::from_utf8(&output.stderr).unwrap_or("Invalid UTF-8");
289289

290290
eprintln!("Error from {command:?}");
291291
eprintln!();

0 commit comments

Comments
 (0)