chore: Fix typos across the codebase
This commit is contained in:
parent
d78fc53577
commit
01594a6243
21 changed files with 55 additions and 43 deletions
|
@ -73,7 +73,7 @@ async fn async_main(server: &Arc<Server>) -> Result<(), Error> {
|
|||
.lock()
|
||||
.await
|
||||
.take()
|
||||
.expect("services initialied"),
|
||||
.expect("services initialized"),
|
||||
)
|
||||
.await
|
||||
{
|
||||
|
|
|
@ -13,8 +13,8 @@ pub(super) fn restart() -> ! {
|
|||
//
|
||||
// We can (and do) prevent that panic by checking the result of current_exe()
|
||||
// prior to committing to restart, returning an error to the user without any
|
||||
// unexpected shutdown. In a nutshell that is the execuse for this unsafety.
|
||||
// Nevertheless, we still want a way to override the restart preventation (i.e.
|
||||
// unexpected shutdown. In a nutshell that is the excuse for this unsafety.
|
||||
// Nevertheless, we still want a way to override the restart presentation (i.e.
|
||||
// admin server restart --force).
|
||||
let exe = unsafe { utils::sys::current_exe().expect("program path must be available") };
|
||||
let envs = env::vars();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue