restart required ex.code 101->201

rust panic returns 101, so this wasn't a good choice
This commit is contained in:
mxve 2023-08-22 11:37:34 +02:00
parent d8609fd7b1
commit 32f9fc2afe
2 changed files with 2 additions and 2 deletions

View File

@ -11,4 +11,4 @@
- ```skip-launcher-update``` skips self-update - ```skip-launcher-update``` skips self-update
### Note for server owners: ### Note for server owners:
When the launcher updates itself it needs to be restarted. It will return exit code 101 in this case. When the launcher updates itself it needs to be restarted. It will return exit code 201 in this case.

View File

@ -109,7 +109,7 @@ fn self_update(update_only: bool) {
if !update_only { if !update_only {
std::io::stdin().read_line(&mut String::new()).unwrap(); std::io::stdin().read_line(&mut String::new()).unwrap();
} }
std::process::exit(101); std::process::exit(201);
} }
} }