diff options
-rw-r--r-- | hswg/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hswg/main.go b/hswg/main.go index 65557c5..313d2ff 100644 --- a/hswg/main.go +++ b/hswg/main.go @@ -494,7 +494,7 @@ func main() { log.Fatalln(err) } - signals := make(chan os.Signal) + signals := make(chan os.Signal, 1) signal.Notify(signals, syscall.SIGINT, syscall.SIGHUP, syscall.SIGTERM) for { select { |