Commit 3f6f98a5 by Carl Bergquist Committed by GitHub

Merge pull request #13661 from mjtrangoni/remove-os-kill

Remove os.Kill as it cannot be trapped
parents a029492d 6218fadf
...@@ -100,7 +100,7 @@ func listenToSystemSignals(server *GrafanaServerImpl) { ...@@ -100,7 +100,7 @@ func listenToSystemSignals(server *GrafanaServerImpl) {
sighupChan := make(chan os.Signal, 1) sighupChan := make(chan os.Signal, 1)
signal.Notify(sighupChan, syscall.SIGHUP) signal.Notify(sighupChan, syscall.SIGHUP)
signal.Notify(signalChan, os.Interrupt, os.Kill, syscall.SIGTERM) signal.Notify(signalChan, os.Interrupt, syscall.SIGTERM)
for { for {
select { select {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment