diff --git a/cmd/mc-router/main.go b/cmd/mc-router/main.go index 9838a93..8ce0f81 100644 --- a/cmd/mc-router/main.go +++ b/cmd/mc-router/main.go @@ -44,7 +44,7 @@ func main() { ctx, cancel := context.WithCancel(context.Background()) c := make(chan os.Signal, 1) - signal.Notify(c) + signal.Notify(c, os.Interrupt) server.Routes.RegisterAll(*mappings)