diff --git a/main.go b/main.go index a295982..bf3b9bd 100644 --- a/main.go +++ b/main.go @@ -117,7 +117,7 @@ func main() { defer cancel() signalCtx, _ := signal.NotifyContext( - context.Background(), + ctx, os.Interrupt, // More Linux signals here syscall.SIGHUP,