From f8ebbce855e343ce30b69dfb9e681277adc8146e Mon Sep 17 00:00:00 2001 From: Tiago Castro Date: Mon, 21 Oct 2024 00:52:23 +0100 Subject: [PATCH] fix: exit with error on failure paperclip cli main was not exiting with error code. Signed-off-by: Tiago Castro --- src/bin/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/main.rs b/src/bin/main.rs index a34426542..5cf59d54e 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -152,5 +152,6 @@ fn main() { env_logger::init(); if let Err(e) = parse_args_and_run() { eprintln!("{}", e); + std::process::exit(1); } }