Skip to content

Commit

Permalink
gpg: drop redundant "exit status" from error message
Browse files Browse the repository at this point in the history
Apparently we currently get things like "GPG failed with exit status
exit status: 2".
  • Loading branch information
martinvonz committed May 13, 2024
1 parent ee9d327 commit 550f44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/gpg_signing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 550f44b

Please sign in to comment.