Merge pull request #9458 from greenhouse-org/windows-restart-check-registry-run-with-ui

Windows restart check registry run with ui
pull/9397/head^2
Megan Marsh 6 years ago committed by GitHub
commit 7b76f5d7e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -263,12 +263,11 @@ var waitForCommunicator = func(ctx context.Context, p *Provisioner) error {
cmdKeyCheck.Stdout = &buf
cmdKeyCheck.Stdout = io.MultiWriter(cmdKeyCheck.Stdout, &buf2)
err := p.comm.Start(ctx, cmdKeyCheck)
err := cmdKeyCheck.RunWithUi(ctx, p.comm, p.ui)
if err != nil {
log.Printf("Communication connection err: %s", err)
shouldContinue = true
}
cmdKeyCheck.Wait()
stdoutToRead := buf2.String()
if strings.Contains(stdoutToRead, "True") {

Loading…
Cancel
Save