RunWithUI already calls Wait on the command
- Remove redundant Wait
This commit is contained in:
parent
aaa913a484
commit
45f81893b9
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue