From ef7571f1ef1ec2ab93a3c01df5d50414ff7b3955 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 20 Mar 2017 15:40:36 +0000 Subject: [PATCH] Can't catch SIGKILL --- prog/plugin/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prog/plugin/main.go b/prog/plugin/main.go index 5c3c368c..6e36d8ec 100644 --- a/prog/plugin/main.go +++ b/prog/plugin/main.go @@ -94,7 +94,7 @@ func run(dockerClient *docker.Client, weave *weaveapi.Client, address, meshAddre } go serveStatus(statusListener) sigChan := make(chan os.Signal, 1) - signal.Notify(sigChan, os.Interrupt, os.Kill, syscall.SIGTERM) + signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM) select { case sig := <-sigChan: