Silence some noise.

Silence benign errors in bash scripts.
This commit is contained in:
Jeff Mendoza
2014-07-02 11:54:54 -07:00
parent e6ee45d38e
commit d0828f4926
2 changed files with 2 additions and 2 deletions

View File

@@ -229,7 +229,7 @@ function copy-output() {
# Create a unique bucket name for releasing Kube and make sure it exists.
function ensure-gcs-release-bucket() {
if which md5 > /dev/null; then
if which md5 > /dev/null 2>&1; then
HASH=$(md5 -q -s "$GCLOUD_PROJECT")
else
HASH=$(echo -n "$GCLOUD_PROJECT" | md5sum)