From 0afc7a5beda36c353a1d7daf6542f009e66c87ac Mon Sep 17 00:00:00 2001 From: xuu Date: Thu, 29 Feb 2024 11:02:00 -0700 Subject: [PATCH] fix: remove sigkill --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 72a24f9..37657b6 100644 --- a/main.go +++ b/main.go @@ -18,7 +18,7 @@ var apps service.Apps var appName, version = service.AppName() func main() { - ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt, os.Kill) + ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt) go func() { <-ctx.Done() defer cancel() // restore interrupt function