mirror of https://github.com/k3s-io/k3s
Suppress output from running which sw_vers
parent
17e36b02f4
commit
b38e114889
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue