From 788cc2621e2aea3ccd9519ec8137c61413f08eb5 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Fri, 20 Jan 2023 12:15:24 +0100 Subject: [PATCH] main.go: os.Interrupt can be changed to syscall.SIGINT --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index c06bcf1..39f7cfa 100644 --- a/main.go +++ b/main.go @@ -107,7 +107,7 @@ func run() { signals := make(chan os.Signal, 1) // Register signal channel to receive signals from the os. - signal.Notify(signals, os.Interrupt, syscall.SIGTERM) + signal.Notify(signals, syscall.SIGINT, syscall.SIGTERM) // Wait for interrupt sig := <-signals