mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 00:07:50 +00:00
Suppress output from running which sw_vers
This commit is contained in:
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
Block a user