RunWithUI already calls Wait on the command

- Remove redundant Wait
This commit is contained in:
Simon Jones 2019-09-06 14:06:17 -04:00 committed by Simon Jones
parent aaa913a484
commit 45f81893b9
1 changed files with 0 additions and 1 deletions

View File

@ -268,7 +268,6 @@ var waitForCommunicator = func(ctx context.Context, p *Provisioner) error {
log.Printf("Communication connection err: %s", err)
shouldContinue = true
}
cmdKeyCheck.Wait()
stdoutToRead := buf2.String()
if strings.Contains(stdoutToRead, "True") {