Remove unused code

This commit is contained in:
Viktor Liu
2025-10-08 18:39:41 +02:00
parent 610c880ec9
commit 4d89d0f115
3 changed files with 7 additions and 28 deletions

View File

@@ -13,7 +13,7 @@ import (
)
// handleCommand executes an SSH command with privilege validation
func (s *Server) handleCommand(logger *log.Entry, session ssh.Session, privilegeResult PrivilegeCheckResult, ptyReq ssh.Pty, winCh <-chan ssh.Window) {
func (s *Server) handleCommand(logger *log.Entry, session ssh.Session, privilegeResult PrivilegeCheckResult, winCh <-chan ssh.Window) {
localUser := privilegeResult.User
hasPty := winCh != nil