From 48ed86ddc7d2d668d51fee0d2c78221f0894a8b9 Mon Sep 17 00:00:00 2001 From: Rodrigo Villablanca Date: Sat, 27 Jun 2020 03:33:36 -0400 Subject: [PATCH] Removed dup signal (#14922) --- cmd/mattermost/commands/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mattermost/commands/server.go b/cmd/mattermost/commands/server.go index 66f47408cb..238018be3d 100644 --- a/cmd/mattermost/commands/server.go +++ b/cmd/mattermost/commands/server.go @@ -92,7 +92,7 @@ func runServer(configStore config.Store, disableConfigWatch bool, usedPlatform b // wait for kill signal before attempting to gracefully shutdown // the running service - signal.Notify(interruptChan, os.Interrupt, syscall.SIGINT, syscall.SIGTERM) + signal.Notify(interruptChan, syscall.SIGINT, syscall.SIGTERM) <-interruptChan return nil