From cf58f113c08f9340789380c80c17d7e1ae639e0f 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 a805d62..baa930b 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 {