mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Correct spelling of macOS (#3478)
* Correct spelling of macOS * fixup! Correct spelling of macOS * fixup! Correct spelling of macOS
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ func startPty(cmd *exec.Cmd) (PTY, Process, error) {
|
||||
_ = ptty.Close()
|
||||
_ = tty.Close()
|
||||
if runtime.GOOS == "darwin" && strings.Contains(err.Error(), "bad file descriptor") {
|
||||
// MacOS has an obscure issue where the PTY occasionally closes
|
||||
// macOS has an obscure issue where the PTY occasionally closes
|
||||
// before it's used. It's unknown why this is, but creating a new
|
||||
// TTY resolves it.
|
||||
return startPty(cmd)
|
||||
|
||||
Reference in New Issue
Block a user