diff --git a/cmd/npc/npc.go b/cmd/npc/npc.go index fa51ef7e..f74d6fb4 100644 --- a/cmd/npc/npc.go +++ b/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 == "" {