aboutsummaryrefslogtreecommitdiff
path: root/internal/server/conn.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/server/conn.go2
1 files changed, 1 insertions, 1 deletions
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()