summaryrefslogtreecommitdiffhomepage
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
parent02ce67294cd28bde9d61924fe6d0365638cc924e (diff)
Added missing exit codes
-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"
)