Fix failing test in CI
This commit is contained in:
parent
61c5167554
commit
5036b9f8a5
1 changed files with 8 additions and 3 deletions
|
|
@ -5,15 +5,16 @@ package ssh
|
|||
import (
|
||||
"fmt"
|
||||
"io"
|
||||
"kitty"
|
||||
"kitty/tools/config"
|
||||
"kitty/tools/utils"
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"kitty"
|
||||
"kitty/tools/config"
|
||||
"kitty/tools/utils"
|
||||
)
|
||||
|
||||
var _ = fmt.Print
|
||||
|
|
@ -49,6 +50,10 @@ var SSHOptions = sync.OnceValue(func() (ssh_options map[string]string) {
|
|||
return
|
||||
}
|
||||
text := utils.UnsafeBytesToString(raw)
|
||||
if strings.Contains(text, "OpenSSL version mismatch.") {
|
||||
// https://bugzilla.mindrot.org/show_bug.cgi?id=3548
|
||||
return
|
||||
}
|
||||
ssh_options = make(map[string]string, 32)
|
||||
for {
|
||||
pos := strings.IndexByte(text, '[')
|
||||
|
|
|
|||
Loading…
Reference in a new issue