Commit 7ee36533 authored by Matthew Holt's avatar Matthew Holt

core: Kill whole process if any server fail to start

parent 9e3852f2
......@@ -72,7 +72,7 @@ func main() {
defer wg.Done()
err := s.Serve()
if err != nil {
log.Println(err)
log.Fatal(err) // kill whole process to avoid a half-alive zombie server
}
}(s)
......
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