From 421bd7277c7721bb441140e55a8656c6fa2d3329 Mon Sep 17 00:00:00 2001 From: Mike Shoup Date: Sun, 30 Sep 2018 19:43:09 -0600 Subject: [PATCH] Add a comment --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index e159522..b8d8058 100644 --- a/main.go +++ b/main.go @@ -39,6 +39,7 @@ func main() { // done is used to signal the web frontend to stop done := make(chan bool) + // Catch SIGTERM and SIGINT sig := make(chan os.Signal) signal.Notify(sig, os.Interrupt, syscall.SIGTERM) signal.Notify(sig, os.Interrupt, syscall.SIGINT)