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

gpg: drop redundant "exit status" from error message

Apparently we currently get things like "GPG failed with exit status
exit status: 2".
This commit is contained in:
Martin von Zweigbergk 2024-05-13 07:27:03 -07:00 committed by Martin von Zweigbergk
parent ee9d3271c1
commit 550f44b7c1

View file

@ -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,