From e956cba5b6c2ec6ea49106b8bb19e82043053cc7 Mon Sep 17 00:00:00 2001 From: nxtcoder17 Date: Sat, 20 Jan 2024 17:02:43 +0530 Subject: [PATCH] fix: SIGKILL can't be trapped, so removing it from notify --- main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main.go b/main.go index 6aad8a6..d845bf3 100644 --- a/main.go +++ b/main.go @@ -24,7 +24,6 @@ type ProgramManager struct { func NewProgramManager(logger logging.Logger) *ProgramManager { done := make(chan os.Signal, 1) signal.Notify(done, syscall.SIGTERM) - signal.Notify(done, syscall.SIGKILL) return &ProgramManager{ done: done,