should break instead of return

pull/820/head
Xiang Li 2013-08-06 00:02:17 -07:00
parent 28c8de8850
commit 5ad230d9dc
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ func (s *Server) readConf() error {
if err != nil {
if err == io.EOF {
s.debugln("server.peer.conf: finish")
return nil
break
}
return err
}