From 2680a5ef4ff429f704e8138623659a282a8671a3 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sat, 9 Oct 2021 16:40:54 +0200 Subject: [PATCH] fix(core): fix warning on Unix --- espanso/src/cli/service/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/espanso/src/cli/service/mod.rs b/espanso/src/cli/service/mod.rs index 0c04043..0e710cb 100644 --- a/espanso/src/cli/service/mod.rs +++ b/espanso/src/cli/service/mod.rs @@ -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; }