From 550f44b7c14f7294c90e719573551bde7ee4d82a Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Mon, 13 May 2024 07:27:03 -0700 Subject: [PATCH] gpg: drop redundant "exit status" from error message Apparently we currently get things like "GPG failed with exit status exit status: 2". --- lib/src/gpg_signing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/gpg_signing.rs b/lib/src/gpg_signing.rs index 53826b5ac..a4d86b742 100644 --- a/lib/src/gpg_signing.rs +++ b/lib/src/gpg_signing.rs @@ -107,7 +107,7 @@ pub struct GpgBackend { #[derive(Debug, Error)] pub enum GpgError { - #[error("GPG failed with exit status {exit_status}:\n{stderr}")] + #[error("GPG failed with {exit_status}:\n{stderr}")] Command { exit_status: ExitStatus, stderr: String,