From 9ad1ccf19f191a0af2bb9e2c42dd4907f781ebcf Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Fri, 2 Oct 2015 13:47:44 +0100 Subject: [PATCH] Don't listen to SIGUSR1, since we stopped handling it a few months back --- common/signals.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/signals.go b/common/signals.go index f5eedf0a..1b99ec8e 100644 --- a/common/signals.go +++ b/common/signals.go @@ -14,7 +14,7 @@ type SignalReceiver interface { func SignalHandlerLoop(ss ...SignalReceiver) { sigs := make(chan os.Signal, 1) - signal.Notify(sigs, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGUSR1, syscall.SIGTERM) + signal.Notify(sigs, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGTERM) buf := make([]byte, 1<<20) for { switch <-sigs {