From 0f73ee73bb248140af12b46f7d71d03a7cb72f35 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 17 Jul 2019 13:40:10 +0200 Subject: [PATCH] src/cli/command.rs: set exit status on error --- src/cli/command.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/command.rs b/src/cli/command.rs index 71cef2a5..a2596556 100644 --- a/src/cli/command.rs +++ b/src/cli/command.rs @@ -212,6 +212,7 @@ fn handle_simple_command( } Err(err) => { eprintln!("Error: {}", err); + std::process::exit(-1); } } }