aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-05 02:48:21 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-05 02:48:21 +0200
commit142e53f69827e6778d809d9606bb7cd4e77694a2 (patch)
tree1cc55aef84a6768f427cc393b4387285d58f0402 /main.go
parenttun: account for null termination on Linux (diff)
downloadwireguard-go-142e53f69827e6778d809d9606bb7cd4e77694a2.tar.xz
wireguard-go-142e53f69827e6778d809d9606bb7cd4e77694a2.zip
Style
Diffstat (limited to '')
-rw-r--r--main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.go b/main.go
index e7e0488..5001bc4 100644
--- a/main.go
+++ b/main.go
@@ -148,7 +148,6 @@ func main() {
logger.Debug.Println("Debug log enabled")
-
if err != nil {
logger.Error.Println("Failed to create TUN device:", err)
os.Exit(ExitSetupFailed)