diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 6df2bd7..40956c2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -270,10 +270,11 @@ fn main() -> anyhow::Result<()> { println!("run it with: aur-build run {id}"); Ok(()) } - Err(stale) => { + Err(ap::ApproveError::Stale(stale)) => { eprintln!("refused: {stale}"); std::process::exit(2) } + Err(ap::ApproveError::System(e)) => Err(e.into()), } } Cmd::Reject { candidate, note } => { |
