소스 검색

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 {