aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/Tunnel
diff options
context:
space:
mode:
authorEric Kuck <eric@bluelinelabs.com>2018-12-22 14:32:39 -0600
committerEric Kuck <eric@bluelinelabs.com>2018-12-22 14:32:39 -0600
commit508ba44576a91e453976d85d999524d891b4ee21 (patch)
tree2d5a6d519e15193bada9514ac6dab960cb98c5da /WireGuard/WireGuard/Tunnel
parentRemove more comments (diff)
downloadwireguard-apple-508ba44576a91e453976d85d999524d891b4ee21.tar.xz
wireguard-apple-508ba44576a91e453976d85d999524d891b4ee21.zip
Fix typo for simulator builds
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to 'WireGuard/WireGuard/Tunnel')
-rw-r--r--WireGuard/WireGuard/Tunnel/TunnelsManager.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
index 6b24a58e..426f3b2e 100644
--- a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
+++ b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
@@ -55,7 +55,7 @@ class TunnelsManager {
func reload(completionHandler: @escaping (Bool) -> Void) {
#if targetEnvironment(simulator)
- completionHandler(.success(false))
+ completionHandler(false)
#else
NETunnelProviderManager.loadAllFromPreferences { managers, _ in
guard let managers = managers else {