Remove unused arg

This commit is contained in:
Viktor Liu
2025-10-10 11:08:34 +02:00
parent cf97799db8
commit 316c0afa9a

View File

@@ -403,11 +403,3 @@ func (s *Server) killProcessGroup(cmd *exec.Cmd) {
logger.Debugf("kill process failed: %v", err)
}
}
// buildShellArgs builds shell arguments for executing commands
func buildShellArgs(shell, command string) []string {
if command != "" {
return []string{shell, "-Command", command}
}
return []string{shell}
}