Skip to content

Commit 7fe4fcc

Browse files
committed
Remove testing condition
1 parent 28cf13f commit 7fe4fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/client/handlers/shell_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func runCommandWithPty(command string, args []string, user *internal.User, reque
4545

4646
fullCommand := command + " " + strings.Join(args, " ")
4747
vsn := windows.RtlGetVersion()
48-
if vsn.MajorVersion < 10 || vsn.BuildNumber < 17763 || true {
48+
if vsn.MajorVersion < 10 || vsn.BuildNumber < 17763 {
4949

5050
log.Info("Windows version too old for Conpty (%d, %d), using basic shell", vsn.MajorVersion, vsn.BuildNumber)
5151
runWithWinPty(fullCommand, connection, requests, log, *user.Pty)

0 commit comments

Comments
 (0)