summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOdd Stranne <odd@mullvad.net>2018-01-19 11:54:15 +0000
committerOdd Stranne <odd@mullvad.net>2018-01-19 11:59:20 +0000
commit7580e644f891c4171848c467ddf76cfa317088e8 (patch)
tree7a38bc13dbda6cc4f267ba6b05d6d06cf39ace03
parent64b0a9edad9afbef50d0f11e4281f9ff516f104c (diff)
downloadmullvadvpn-7580e644f891c4171848c467ddf76cfa317088e8.tar.xz
mullvadvpn-7580e644f891c4171848c467ddf76cfa317088e8.zip
Fix code formatting
-rw-r--r--talpid-core/src/tunnel/mod.rs6
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()