diff --git a/cmd/main.go b/cmd/main.go index af5a0331..ff3696aa 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -192,7 +192,7 @@ func sigterm() { <-sigs fmt.Println("Shutting down Statping") Close() - os.Exit(1) + os.Exit(0) } // mainProcess will initialize the Statping application and run the HTTP server