fix(core): fix warning on Unix
This commit is contained in:
parent
fa139a426b
commit
2680a5ef4f
|
@ -115,7 +115,7 @@ fn start_main(paths: &Paths, _paths_overrides: &PathsOverrides, args: &ArgMatche
|
|||
// Unmanaged service
|
||||
#[cfg(unix)]
|
||||
{
|
||||
if let Err(err) = fork_daemon(&_paths_overrides) {
|
||||
if let Err(err) = fork_daemon(_paths_overrides) {
|
||||
error_eprintln!("unable to start service (unmanaged): {}", err);
|
||||
return SERVICE_FAILURE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user