diff options
Diffstat (limited to 'vm/gce')
| -rw-r--r-- | vm/gce/gce.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/gce/gce.go b/vm/gce/gce.go index 4c3708ad5..d2ce480ff 100644 --- a/vm/gce/gce.go +++ b/vm/gce/gce.go @@ -228,6 +228,9 @@ func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command strin conWpipe.Close() return nil, nil, err } + if inst.consolew != nil { + inst.consolew.Close() + } inst.consolew = conw if err := con.Start(); err != nil { conRpipe.Close() |
