fix(rustdesk): corrige retorno ao re-tentar start do serviço
This commit is contained in:
parent
24656afff3
commit
d76e9ed0cb
1 changed files with 2 additions and 1 deletions
|
|
@ -427,7 +427,8 @@ fn ensure_service_running(exe_path: &Path) -> Result<(), RustdeskError> {
|
|||
status: Some(5),
|
||||
})?;
|
||||
let _ = run_sc(&["stop", SERVICE_NAME]);
|
||||
start_sequence().or_else(|_| Ok(()))
|
||||
start_sequence().or_else(|_| Ok(()))?;
|
||||
Ok(())
|
||||
}
|
||||
Err(error) => Err(error),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue