mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 15:45:39 +00:00
frpc: fix that login_fail_exit invalid if protocol=kcp
(#2363)
This commit is contained in:
@@ -234,7 +234,7 @@ func startService(
|
||||
}
|
||||
|
||||
err = svr.Run()
|
||||
if cfg.Protocol == "kcp" {
|
||||
if err == nil && cfg.Protocol == "kcp" {
|
||||
<-kcpDoneCh
|
||||
}
|
||||
return
|
||||
|
Reference in New Issue
Block a user