diff --git a/mullvad-daemon/src/lib.rs b/mullvad-daemon/src/lib.rs index f96bedafb889..0665c2736ebb 100644 --- a/mullvad-daemon/src/lib.rs +++ b/mullvad-daemon/src/lib.rs @@ -618,7 +618,7 @@ impl Daemon { error.display_chain_with_msg("Failed to start connectivity listener") ); }) - .map_err(|_| Err(Error::DaemonUnavailable))?; + .map_err(|_| Error::DaemonUnavailable)?; mullvad_api::proxy::ApiConnectionMode::try_delete_cache(&cache_dir).await; let api_runtime = mullvad_api::Runtime::with_cache(