Can't catch SIGKILL

This commit is contained in:
Bryan Boreham authored and Marc Carré committed 2017-03-21 11:38:35 +00:00
1 parent c0726923f5
commit ef7571f1ef
1 file changed
+1 -1
+1 -1
View File
@@ -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: