From 404a3cea6483a6024d0de8eff1cd533f01a70b56 Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Mon, 1 Mar 2021 22:35:32 -0500 Subject: [PATCH] Remove useless os.Kill because it cannot be caught --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b3d9d1e4..4ffaec8d 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ func main() { // Wait for termination signal sig := make(chan os.Signal, 1) done := make(chan bool, 1) - signal.Notify(sig, os.Interrupt, os.Kill, syscall.SIGTERM) + signal.Notify(sig, os.Interrupt, syscall.SIGTERM) go func() { <-sig log.Println("Received interruption signal, attempting to gracefully shut down")