From 5051bd59eb77e3d00ef2466c8662a4fb8af8cd98 Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Fri, 13 Jul 2018 14:24:36 +0200 Subject: [PATCH] cmd/stateth: catch SIGKILL --- cmd/stateth/stateth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/stateth/stateth.go b/cmd/stateth/stateth.go index d690afacc6..536b0fda5a 100644 --- a/cmd/stateth/stateth.go +++ b/cmd/stateth/stateth.go @@ -136,7 +136,7 @@ func main() { sigs := make(chan os.Signal, 1) done := make(chan bool, 1) - signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM) + signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM, syscall.SIGKILL) go func() { sig := <-sigs