restart required ex.code 101->201
rust panic returns 101, so this wasn't a good choice
This commit is contained in:
parent
d8609fd7b1
commit
32f9fc2afe
@ -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.
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user