فهرست منبع

Merge pull request #471 from wyaode/patch-1, close #470

Update nps.go
ffdfgdfg 5 سال پیش
والد
کامیت
72e10ced88
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      cmd/nps/nps.go

+ 1 - 1
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 {