mirror of
https://github.com/alterware/alterware-launcher.git
synced 2026-11-28 04:08:39 +00:00
restart required ex.code 101->201
rust panic returns 101, so this wasn't a good choice
This commit is contained in:
1 parent
d8609fd7b1
commit
32f9fc2afe
2 files changed
+2
-2
No files matched your search
@@ -11,4 +11,4 @@
|
||||
- ```skip-launcher-update``` skips self-update
|
||||
|
||||
### 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.
|
||||
+1
-1
@@ -109,7 +109,7 @@ fn self_update(update_only: bool) {
|
||||
if !update_only {
|
||||
std::io::stdin().read_line(&mut String::new()).unwrap();
|
||||
}
|
||||
std::process::exit(101);
|
||||
std::process::exit(201);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user