Skip to content

Commit

Permalink
raise SIGTERM instead of SIGINT
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaci committed Sep 19, 2024
1 parent 84e62fb commit 3ed6502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/signal.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func sigHandler() {
case syscall.SIGTERM, syscall.SIGINT:
postProcess()
signal.Stop(ch)
syscall.Kill(syscall.Getpid(), syscall.SIGINT)
syscall.Kill(syscall.Getpid(), syscall.SIGTERM)
}
}
}

0 comments on commit 3ed6502

Please sign in to comment.