Fix misspell errors

This commit is contained in:
Manuel de Brito Fontes 2017-11-05 20:11:33 -03:00
parent 5e05acd924
commit 639863a622
4 changed files with 8 additions and 3 deletions

View file

@ -54,6 +54,11 @@ func WaitUntilPortIsAvailable(port int) {
conn.Close()
// kill nginx worker processes
fs, err := proc.NewFS("/proc")
if err != nil {
glog.Errorf("unexpected error reading /proc information: %v", err)
continue
}
procs, _ := fs.FS.AllProcs()
for _, p := range procs {
pn, err := p.Comm()