maint(main): simply return out of the main function

instead of calling exit()
This commit is contained in:
Edo 2023-09-15 19:19:04 +02:00 committed by GitHub
parent 84ea4e48af
commit 48851fa8d3

View File

@ -322,7 +322,7 @@ fn main() {
println!(
"\nExample:\n alterware-launcher.exe iw4x --bonus --pass \"-console -nointro\""
);
std::process::exit(0);
return;
}
if arg_bool(&args, "--version") || arg_bool(&args, "-v") {
@ -342,7 +342,7 @@ fn main() {
"mxve".bright_magenta().on_black().underline(),
".de".on_black().underline()
);
std::process::exit(0);
return;
}
let install_path: PathBuf;