break out of loop once channel is read from.

This commit is contained in:
Megan Marsh 2020-01-14 15:51:00 -08:00
parent 888f780f61
commit 6315f69019
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ func (d *Vagrant_2_2_Driver) vagrantCmd(args ...string) (string, string, error)
log.Printf("[vagrant driver] stderr: %s", line)
}
stderrString += line
break
default:
line, _ := stdout.ReadString('\n')
if line != "" {