Ignore EOF on terminal close
This commit is contained in:
parent
4fc27b3ed9
commit
ae29c3c1ea
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ func (t terminalReadCloser) Close() error {
|
|||
return fmt.Errorf("error making terminal.stopTerminal call: %v", err)
|
||||
}
|
||||
|
||||
if err := t.channel.Close(); err != nil {
|
||||
if err := t.channel.Close(); err != nil && err != io.EOF {
|
||||
return fmt.Errorf("error closing channel: %v", err)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue