src/cli/command.rs: set exit status on error

This commit is contained in:
Dietmar Maurer 2019-07-17 13:40:10 +02:00
parent 129dda4729
commit 0f73ee73bb

View File

@ -212,6 +212,7 @@ fn handle_simple_command(
}
Err(err) => {
eprintln!("Error: {}", err);
std::process::exit(-1);
}
}
}