Update nps.go

解决服务无法启动问题,issues #470
This commit is contained in:
wyaode authored and GitHub committed 2020-03-25 09:07:41 +08:00
1 parent f22914c3ad
commit cf58f113c0
1 file changed
+1 -1
+1 -1
View File
@@ -159,7 +159,7 @@ type nps struct {
func (p *nps) Start(s service.Service) error {
_, _ = s.Status()
_ = p.run()
go p.run()
return nil
}
func (p *nps) Stop(s service.Service) error {