cli: exit with code 1 on invalid config
This should have been part of the previous commit (fix for
@@ -30,6 +30,7 @@ fn main() {
let mut ui = Ui::for_terminal(UserSettings::default());
ui.write_error(&format!("Invalid config: {}\n", err))
.unwrap();
+ std::process::exit(1);
}
}
}
