Skip to content

Commit

Permalink
Remove duplicate SIGINT in signal handling (go-mysql-org#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
soya111 authored Dec 29, 2024
1 parent f87f8bc commit a66e74e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/go-canal/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ func main() {

sc := make(chan os.Signal, 1)
signal.Notify(sc,
syscall.SIGINT,
syscall.SIGHUP,
syscall.SIGINT,
syscall.SIGTERM,
Expand Down

0 comments on commit a66e74e

Please sign in to comment.