mirror of
https://github.com/grafana/grafana.git
synced 2025-01-08 07:03:11 -06:00
Server: Exit with 0 if no error (#23312)
Make grafana-server exit with 0 if no error occurred.
This commit is contained in:
parent
54ddaecea1
commit
5645d74cbc
@ -115,8 +115,10 @@ func main() {
|
||||
go listenToSystemSignals(server)
|
||||
|
||||
err := server.Run()
|
||||
|
||||
code := server.ExitCode(err)
|
||||
code := 0
|
||||
if err != nil {
|
||||
code = server.ExitCode(err)
|
||||
}
|
||||
trace.Stop()
|
||||
log.Close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user