summaryrefslogtreecommitdiffstats
path: root/cmd/platform/server.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-11-03 10:25:38 -0500
committerCorey Hulen <corey@hulen.com>2017-11-03 08:25:38 -0700
commitd5dbdb273703a3add0f1c3287aa531854ab30269 (patch)
tree6b1fb9079f9fae9d25bdb7ea459261383ee720d6 /cmd/platform/server.go
parent9d32cd42085bbb37460d815c6c1a00ad881c4895 (diff)
downloadchat-d5dbdb273703a3add0f1c3287aa531854ab30269.tar.gz
chat-d5dbdb273703a3add0f1c3287aa531854ab30269.tar.bz2
chat-d5dbdb273703a3add0f1c3287aa531854ab30269.zip
several one-line panic, race, and logic fixes (#7766)
Diffstat (limited to 'cmd/platform/server.go')
-rw-r--r--cmd/platform/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/platform/server.go b/cmd/platform/server.go
index 05e527462..6de14d63e 100644
--- a/cmd/platform/server.go
+++ b/cmd/platform/server.go
@@ -144,7 +144,7 @@ func runServer(configFileLocation string) {
// wait for kill signal before attempting to gracefully shutdown
// the running service
- c := make(chan os.Signal)
+ c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt, syscall.SIGINT, syscall.SIGTERM)
<-c