summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2015-02-04 09:06:31 -0700
committerJhon Honce <jhonce@redhat.com>2015-02-04 09:06:31 -0700
commit6fed637dac887656367a822da653c2969508a290 (patch)
treea10229c8fe40c293e7943bccf44f24b3abac7aa7
parent4c1645c4765330de710de0cf8245cd64dfe123c6 (diff)
parentc07448bcb659bb13d3e3fba9fff7e7c0a1a18a5c (diff)
downloadopenshift-6fed637dac887656367a822da653c2969508a290.tar.gz
openshift-6fed637dac887656367a822da653c2969508a290.tar.bz2
openshift-6fed637dac887656367a822da653c2969508a290.tar.xz
openshift-6fed637dac887656367a822da653c2969508a290.zip
Merge pull request #51 from calfonso/bz1174620
Adding a more informative message if no supported environments are found...
-rwxr-xr-xcluster.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/cluster.sh b/cluster.sh
index ff1c20566..7f541e4f8 100755
--- a/cluster.sh
+++ b/cluster.sh
@@ -25,6 +25,7 @@ function usage {
Supported environment tags:
$(grep --no-messages 'SUPPORTED_ENVS.*=' ./lib/${PROVIDER}_command.rb)
+ $([ $? -ne 0 ] && echo "No supported environment tags found for ${PROVIDER}")
EOT
}
# @formatter:on