mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
frpc: fix that login_fail_exit invalid if protocol=kcp
(#2363)
This commit is contained in:
parent
fbaa5f866e
commit
2408f1df04
@ -234,7 +234,7 @@ func startService(
|
|||||||
}
|
}
|
||||||
|
|
||||||
err = svr.Run()
|
err = svr.Run()
|
||||||
if cfg.Protocol == "kcp" {
|
if err == nil && cfg.Protocol == "kcp" {
|
||||||
<-kcpDoneCh
|
<-kcpDoneCh
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user