diff options
| -rw-r--r-- | talpid-core/src/tunnel/mod.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/talpid-core/src/tunnel/mod.rs b/talpid-core/src/tunnel/mod.rs index 40ae2306a8..747115564e 100644 --- a/talpid-core/src/tunnel/mod.rs +++ b/talpid-core/src/tunnel/mod.rs @@ -177,7 +177,11 @@ impl TunnelMonitor { } fn get_openvpn_bin(resource_dir: &Path) -> OsString { - let bin = if cfg!(windows) { OsStr::new("openvpn.exe") } else { OsStr::new("openvpn") }; + let bin = if cfg!(windows) { + OsStr::new("openvpn.exe") + } else { + OsStr::new("openvpn") + }; let bundled_path = resource_dir.join("openvpn-binaries").join(bin); if bundled_path.exists() { bundled_path.into_os_string() |
