We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6cf9b9 commit 9854446Copy full SHA for 9854446
golang/cosmos/daemon/main.go
@@ -60,7 +60,7 @@ func RunWithController(sendToController cmd.Sender) {
60
// Exit on Control-C and kill.
61
// Without this explicitly, ag-chain-cosmos ignores them.
62
sigs := make(chan os.Signal, 1)
63
- signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
+ signal.Notify(sigs, os.Interrupt, syscall.SIGINT, syscall.SIGTERM)
64
go func() {
65
<-sigs
66
os.Exit(98)
0 commit comments