Commit 5645d74c by Arve Knudsen Committed by GitHub

Server: Exit with 0 if no error (#23312)

Make grafana-server exit with 0 if no error occurred.
parent 54ddaece
...@@ -115,8 +115,10 @@ func main() { ...@@ -115,8 +115,10 @@ func main() {
go listenToSystemSignals(server) go listenToSystemSignals(server)
err := server.Run() err := server.Run()
code := 0
code := server.ExitCode(err) if err != nil {
code = server.ExitCode(err)
}
trace.Stop() trace.Stop()
log.Close() log.Close()
......
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