From 678602a5586d05d1ef089c704fdbd67ee6c94eb4 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Wed, 9 May 2018 18:56:26 -0500 Subject: [PATCH] Only catch interrupt signal --- cmd/mc-router/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)