Skip to content

Commit

Permalink
fix: do not listen for SIGKILL signal
Browse files Browse the repository at this point in the history
  • Loading branch information
cecobask committed Jul 22, 2024
1 parent 176201e commit a6b8800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

func main() {
ctx, stop := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGKILL, syscall.SIGTERM)
ctx, stop := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
defer stop()
err := root.NewCommand(ctx).Execute()
if err != nil {
Expand Down

0 comments on commit a6b8800

Please sign in to comment.