diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-11-30 23:30:29 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2017-11-30 23:30:29 +0100 |
commit | cd369cde45b190738f468569a1e8551f59807784 (patch) | |
tree | 49df7ad7d0e2337f4677aed748305d9c4c0b015f /src | |
parent | 02ce67294cd28bde9d61924fe6d0365638cc924e (diff) |
Added missing exit codes
Diffstat (limited to 'src')
-rw-r--r-- | src/main.go | 5 |
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" ) |