Merge pull request #4477 from chrishiestand/gcloud-preview-check-stderr

bugfix in util.sh, fix silent hang
This commit is contained in:
Zach Loafman 2015-02-17 11:15:55 -08:00
commit b339882d9e

2
cluster/gke/util.sh Normal file → Executable file
View File

@ -70,7 +70,7 @@ function test-build-release() {
function verify-prereqs() {
echo "... in verify-prereqs()" >&2
${GCLOUD} preview --help >/dev/null 2>&1 || {
${GCLOUD} preview --help >/dev/null || {
echo "Either the GCLOUD environment variable is wrong, or the 'preview' component"
echo "is not installed. (Fix with 'gcloud components update preview')"
}