Fix misspell errors
This commit is contained in:
parent
5e05acd924
commit
639863a622
4 changed files with 8 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue