Strip whitespace that OS X inserts on wc calls.

This commit is contained in:
Brendan Burns 2015-02-17 17:18:32 -08:00
parent a4bc22e263
commit eee9804e97

View File

@ -168,7 +168,7 @@ function wait-for-minions-to-run {
sleep 5
running_minions=$(gcloud preview --project "${PROJECT}" instance-groups \
--zone "${ZONE}" instances --group "${NODE_INSTANCE_PREFIX}-group" list \
--running | wc -l)
--running | wc -l | xargs)
done
}