Remove useless os.Kill because it cannot be caught

This commit is contained in:
TwinProduction 2021-03-01 22:35:32 -05:00
parent d000460a99
commit 404a3cea64

View File

@ -19,7 +19,7 @@ func main() {
// Wait for termination signal
sig := make(chan os.Signal, 1)
done := make(chan bool, 1)
signal.Notify(sig, os.Interrupt, os.Kill, syscall.SIGTERM)
signal.Notify(sig, os.Interrupt, syscall.SIGTERM)
go func() {
<-sig
log.Println("Received interruption signal, attempting to gracefully shut down")