diff --git a/command/exec.go b/command/exec.go index 2e59f2818c0f..26d537f74c66 100644 --- a/command/exec.go +++ b/command/exec.go @@ -312,6 +312,9 @@ OUTER: c.Ui.Info(fmt.Sprintf("Completed in %0.2f seconds", float64(time.Now().Sub(start))/float64(time.Second))) } + if exitCount < ackCount { + badExit++ + } break OUTER case <-errCh: