Skip to content

Commit

Permalink
fix typo in exported TERM var
Browse files Browse the repository at this point in the history
  • Loading branch information
ferama committed May 20, 2023
1 parent dafa3a0 commit 8f4419c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sshd/channel_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (s *channelHandler) handleShellExectRequest(
if term == "" {
term = "xterm"
}
envVal = append(envVal, fmt.Sprintf("XTERM=%s", term))
envVal = append(envVal, fmt.Sprintf("TERM=%s", term))

// export HOME
envVal = append(envVal, fmt.Sprintf("HOME=%s", usr.HomeDir))
Expand Down

0 comments on commit 8f4419c

Please sign in to comment.