diff --git a/provisioner/windows-restart/provisioner.go b/provisioner/windows-restart/provisioner.go index e9e99b20c..bf44a2830 100644 --- a/provisioner/windows-restart/provisioner.go +++ b/provisioner/windows-restart/provisioner.go @@ -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") {