From 922248bbf11a29c975655f2d75a16756cb052332 Mon Sep 17 00:00:00 2001 From: Gerasimos Maropoulos Date: Sun, 31 Jul 2016 15:01:28 +0300 Subject: [PATCH] Fix error handling on Listen functions --- http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.go b/http.go index 52e86cc3..42e158f4 100644 --- a/http.go +++ b/http.go @@ -569,7 +569,7 @@ func (s *ServerList) OpenAll() error { // we don't care about performance on initialization, // we must make sure that the previous servers are running before closing them s.CloseAll() - break + return err } if i == l { s.mux.setHostname(s.servers[i].Hostname())