We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eef33fc commit ada4ef6Copy full SHA for ada4ef6
cmd/chirpstack-gateway-bridge/cmd/root_run.go
@@ -42,7 +42,7 @@ func run(cmd *cobra.Command, args []string) error {
42
}
43
44
45
- sigChan := make(chan os.Signal)
+ sigChan := make(chan os.Signal, 1)
46
signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
47
log.WithField("signal", <-sigChan).Info("signal received")
48
log.Warning("shutting down server")
0 commit comments