From ba1b091d90551da410e65c9db1114ace2d61b515 Mon Sep 17 00:00:00 2001 From: wyaode <33099640+wyaode@users.noreply.github.com> Date: Wed, 25 Mar 2020 09:07:41 +0800 Subject: [PATCH] Update nps.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决服务无法启动问题,issues #470 --- cmd/nps/nps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/nps/nps.go b/cmd/nps/nps.go index a805d62c..baa930bb 100644 --- a/cmd/nps/nps.go +++ b/cmd/nps/nps.go @@ -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 {