From b38e114889bc2a7cded91554c80fa6fabde84e32 Mon Sep 17 00:00:00 2001 From: Paul Morie Date: Mon, 2 Nov 2015 23:32:42 -0500 Subject: [PATCH] Suppress output from running which sw_vers --- cluster/gce/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/gce/util.sh b/cluster/gce/util.sh index d07859129e9..6d8d0d63f78 100755 --- a/cluster/gce/util.sh +++ b/cluster/gce/util.sh @@ -740,7 +740,7 @@ function kube-up { # curl in mavericks is borked. secure="" - if which sw_vers > /dev/null; then + if which sw_vers >& /dev/null; then if [[ $(sw_vers | grep ProductVersion | awk '{print $2}') = "10.9."* ]]; then secure="--insecure" fi