diff --git a/mullvad-daemon/src/main.rs b/mullvad-daemon/src/main.rs index 3566347152b4..c6a67f8f3e83 100644 --- a/mullvad-daemon/src/main.rs +++ b/mullvad-daemon/src/main.rs @@ -69,8 +69,8 @@ async fn run() -> Result<(), String> { #[cfg(target_os = "windows")] cli::Command::RunAsService => { - init_logger(config, None)?; assert_unique().await?; + let _ = init_daemon_logging(config)?; system_service::run() }