mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
hotfix: fix cmd ssh resize terminal size npe
This commit is contained in:
@@ -401,6 +401,10 @@ func init() {
|
||||
|
||||
defer conn.Close()
|
||||
|
||||
if CondReady[sessionID] == nil {
|
||||
return
|
||||
}
|
||||
|
||||
var session *ssh.Session
|
||||
select {
|
||||
case <-conn.Request().Context().Done():
|
||||
|
||||
Reference in New Issue
Block a user