Skip to content

Commit ecf8e01

Browse files
committed
Remove duplicate SIGINT in signal handling
1 parent f87f8bc commit ecf8e01

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmd/go-canal/main.go

-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ func main() {
100100

101101
sc := make(chan os.Signal, 1)
102102
signal.Notify(sc,
103-
syscall.SIGINT,
104103
syscall.SIGHUP,
105104
syscall.SIGINT,
106105
syscall.SIGTERM,

0 commit comments

Comments
 (0)