Explorar el Código

BZ1174620 - Show grep error of no such file when upper case provider..

* This patch just silences grep errors
Chris Alfonso hace 10 años
padre
commit
a99c327f54
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cluster.sh

+ 1 - 1
cluster.sh

@@ -24,7 +24,7 @@ function usage {
         ${0} : [create|terminate|update|list] { ${UPPER_CASE_PROVIDER} environment tag}
         ${0} : [create|terminate|update|list] { ${UPPER_CASE_PROVIDER} environment tag}
 
 
         Supported environment tags:
         Supported environment tags:
-        $(grep 'SUPPORTED_ENVS.*=' ./lib/${PROVIDER}_command.rb)
+        $(grep --no-messages 'SUPPORTED_ENVS.*=' ./lib/${PROVIDER}_command.rb)
 EOT
 EOT
 }
 }
 # @formatter:on
 # @formatter:on