Ensure to exit with a non-zero status code when a timeout occurs and we don't complete all the jobs.

pull/2901/head
Ralph Caraveo 8 years ago
parent 0b96666c66
commit 7ab576891e

@ -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:

Loading…
Cancel
Save