fix(core): fix warning on Unix

This commit is contained in:
Federico Terzi 2021-10-09 16:40:54 +02:00
parent fa139a426b
commit 2680a5ef4f

View File

@ -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;
}