diff --git a/main_unix.go b/main_unix.go new file mode 100644 index 0000000000..974a9f762e --- /dev/null +++ b/main_unix.go @@ -0,0 +1,14 @@ +//go:build !windows +// +build !windows + +package main + +import ( + "os/signal" + "syscall" +) + +func init() { + // workaround for https://github.com/golang/go/issues/37942 + signal.Ignore(syscall.SIGURG) +}