frpc: fix that login_fail_exit invalid if `protocol=kcp` (#2363)

pull/2383/head
fatedier 4 years ago committed by GitHub
parent fbaa5f866e
commit 2408f1df04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -234,7 +234,7 @@ func startService(
}
err = svr.Run()
if cfg.Protocol == "kcp" {
if err == nil && cfg.Protocol == "kcp" {
<-kcpDoneCh
}
return

Loading…
Cancel
Save