diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-04 21:51:55 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-04 21:51:55 +0200 |
commit | e1de0f229a8f2cbfc4bb56230de885386a775fd6 (patch) | |
tree | ba5d5a0da858f4928e85271e9dafccaee3bb9484 /main.go | |
parent | ac898bb35afde34a383f72726c2818d082933e8d (diff) |
uapi: use kqueue for sock deletion on darwin
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -227,6 +227,10 @@ func main() { term := make(chan os.Signal) uapi, err := UAPIListen(interfaceName, fileUAPI) + if err != nil { + logger.Error.Println("Failed to listen on uapi socket:", err) + os.Exit(ExitSetupFailed) + } go func() { for { |