Ver Fonte

Revert "Update npc.go", fix #515

This reverts commit 27a7a67e
ffdfgdfg há 5 anos atrás
pai
commit
96e7b0255f
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      cmd/npc/npc.go

+ 1 - 0
cmd/npc/npc.go

@@ -218,6 +218,7 @@ func run() {
 		commonConfig.Client = new(file.Client)
 		commonConfig.Client.Cnf = new(file.Config)
 		go client.StartLocalServer(localServer, commonConfig)
+		return
 	}
 	env := common.GetEnvMap()
 	if *serverAddr == "" {