diff options
author | Wolfy-J <[email protected]> | 2018-06-23 20:21:12 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-23 20:21:12 +0300 |
commit | 88b3416e0cb795873787014906b48d184f8fe78a (patch) | |
tree | 3fdebb92ef36277a43b9303703d8f22aa8edf9dd /server.go | |
parent | 008a42fc6138e74766cdf9011a8dfc60df71b4a0 (diff) |
better shutdown
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -64,6 +64,7 @@ func (s *Server) Start() (err error) { defer s.mu.Unlock() if s.factory, err = s.cfg.makeFactory(); err != nil { + return err } |