ok/jj
1
0
Fork 0
forked from mirrors/jj

test_gpg: fix warnings ending up on stdout

Signed-off-by: Tim Janik <timj@gnu.org>
This commit is contained in:
Tim Janik 2024-07-11 16:54:47 +02:00 committed by Yuya Nishihara
parent 219a63540f
commit 11f56800fa

View file

@ -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);
}