Merge pull request #3 from github/jg/ignore-eof-terminal
Ignore EOF on terminal close
This commit is contained in:
commit
cd99399290
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