diff --git a/bin/cdist-mass-deploy b/bin/cdist-mass-deploy index 3ca43d43..ab6c8f1b 100755 --- a/bin/cdist-mass-deploy +++ b/bin/cdist-mass-deploy @@ -67,8 +67,8 @@ while [ $# -gt 0 ]; do shift done +e=0 if [ "$parallel" ]; then - e=0 __cdist_echo info "Waiting for cdist-deploy-to jobs to finish" while [ "$i" -gt 0 ]; do eval pid=\$pid_$i