Jelajahi Sumber

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

Update nps.go
ffdfgdfg 5 tahun lalu
induk
melakukan
72e10ced88
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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 {