Skip to content

Commit

Permalink
test_gpg: fix warnings ending up on stdout
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Janik <[email protected]>
  • Loading branch information
tim-janik authored and yuja committed Jul 12, 2024
1 parent 219a635 commit 11f5680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tests/test_gpg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ impl GpgEnvironment {
let res = gpg.wait_with_output().unwrap();

if !res.status.success() {
println!("Failed to add private key to gpg-agent. Make sure it is running!");
println!("{}", String::from_utf8_lossy(&res.stderr));
eprintln!("Failed to add private key to gpg-agent. Make sure it is running!");
eprintln!("{}", String::from_utf8_lossy(&res.stderr));
return Err(res);
}

Expand Down

0 comments on commit 11f5680

Please sign in to comment.