Skip to content
This repository was archived by the owner on Sep 6, 2018. It is now read-only.

bugfix, return err when readConf() failed #228

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bugfix, return err when readConf() failed
wankai committed Jun 28, 2014
commit abae71b7679e2e70473dd5ff3d03247f2cf84b16
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
@@ -1442,7 +1442,7 @@ func (s *server) readConf() error {
b, err := ioutil.ReadFile(confPath)

if err != nil {
return nil
return err
}

conf := &Config{}