From 11f56800fa271771e587fd934da674f89bf134d9 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Thu, 11 Jul 2024 16:54:47 +0200 Subject: [PATCH] test_gpg: fix warnings ending up on stdout Signed-off-by: Tim Janik --- lib/tests/test_gpg.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tests/test_gpg.rs b/lib/tests/test_gpg.rs index c15a70e4a..c1f651083 100644 --- a/lib/tests/test_gpg.rs +++ b/lib/tests/test_gpg.rs @@ -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); }