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