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

Remove os.Kill as it cannot be trapped
This commit is contained in:
Carl Bergquist 2018-10-15 08:47:26 +02:00 committed by GitHub
commit 3f6f98a532
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,7 @@ func listenToSystemSignals(server *GrafanaServerImpl) {
sighupChan := make(chan os.Signal, 1)
signal.Notify(sighupChan, syscall.SIGHUP)
signal.Notify(signalChan, os.Interrupt, os.Kill, syscall.SIGTERM)
signal.Notify(signalChan, os.Interrupt, syscall.SIGTERM)
for {
select {