From 18c0f347a39d8c82a7517b3eae23e62c4b7534cc Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Fri, 14 Aug 2015 16:29:34 +0200 Subject: [PATCH] Fix loop-reloading on shutdown --- cmd/prometheus/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index 529211eb3..10082dddc 100644 --- a/cmd/prometheus/main.go +++ b/cmd/prometheus/main.go @@ -159,8 +159,6 @@ func Main() int { log.Warn("Received termination request via web service, exiting gracefully...") } - close(hup) - log.Info("See you next time!") return 0 }