Merge pull request #4477 from chrishiestand/gcloud-preview-check-stderr
bugfix in util.sh, fix silent hang
This commit is contained in:
2
cluster/gke/util.sh
Normal file → Executable file
2
cluster/gke/util.sh
Normal file → Executable file
@@ -70,7 +70,7 @@ function test-build-release() {
|
|||||||
function verify-prereqs() {
|
function verify-prereqs() {
|
||||||
echo "... in verify-prereqs()" >&2
|
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 "Either the GCLOUD environment variable is wrong, or the 'preview' component"
|
||||||
echo "is not installed. (Fix with 'gcloud components update preview')"
|
echo "is not installed. (Fix with 'gcloud components update preview')"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user