diff --git a/bin/cdist-mass-deploy b/bin/cdist-mass-deploy index 1c6baa69..e8e2594f 100755 --- a/bin/cdist-mass-deploy +++ b/bin/cdist-mass-deploy @@ -37,7 +37,7 @@ if [ "$1" = "-p" ]; then fi i=0 -while [ $# -ge 1 ]; do +while [ $# -gt 0 ]; do if [ "$parallel" ]; then cdist-deploy-to "$1" | filter "$1" & # Record pid and host for use later