diff --git a/conf/wide.go b/conf/wide.go index 69371f2..7b1f3b6 100644 --- a/conf/wide.go +++ b/conf/wide.go @@ -228,7 +228,7 @@ func checkEnv() { } gocode := util.Go.GetExecutableInGOBIN("gocode") - cmd = exec.Command(gocode, "close") + cmd = exec.Command(gocode) _, err = cmd.Output() if nil != err { event.EventQueue <- &event.Event{Code: event.EvtCodeGocodeNotFound}