Browse Source

Revert "Update npc.go", fix #515

This reverts commit 27a7a67e
ffdfgdfg 5 years ago
parent
commit
96e7b0255f
1 changed files with 1 additions and 0 deletions
  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 == "" {