From ffa4397107c1ad6b37b7587cae3d6317f08a59df Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Wed, 31 Dec 2025 14:37:47 +0300 Subject: =?UTF-8?q?=D0=92=D0=B5=D1=80=D1=81=D0=B8=D1=8F=200.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/server/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/server/conn.go') diff --git a/internal/server/conn.go b/internal/server/conn.go index 347b4eb..8f856fe 100644 --- a/internal/server/conn.go +++ b/internal/server/conn.go @@ -26,7 +26,7 @@ func (s *Server) serveConn(ctx context.Context, nConn net.Conn, config *ssh.Serv for newChannel := range chans { if newChannel.ChannelType() != "session" { - newChannel.Reject(ssh.UnknownChannelType, "unknown channel type") + _ = newChannel.Reject(ssh.UnknownChannelType, "unknown channel type") continue } channel, requests, err := newChannel.Accept() -- cgit v1.2.3