aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-11-30 23:30:29 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-11-30 23:30:29 +0100
commitcd369cde45b190738f468569a1e8551f59807784 (patch)
tree49df7ad7d0e2337f4677aed748305d9c4c0b015f /src/main.go
parentRefactor timers.go (diff)
downloadwireguard-go-cd369cde45b190738f468569a1e8551f59807784.tar.xz
wireguard-go-cd369cde45b190738f468569a1e8551f59807784.zip
Added missing exit codes
Diffstat (limited to '')
-rw-r--r--src/main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.go b/src/main.go
index 7d86716..e43176c 100644
--- a/src/main.go
+++ b/src/main.go
@@ -9,6 +9,11 @@ import (
)
const (
+ ExitSetupSuccess = 0
+ ExitSetupFailed = 1
+)
+
+const (
ENV_WG_TUN_FD = "WG_TUN_FD"
ENV_WG_UAPI_FD = "WG_UAPI_FD"
)