mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +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.
|
# curl in mavericks is borked.
|
||||||
secure=""
|
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
|
if [[ $(sw_vers | grep ProductVersion | awk '{print $2}') = "10.9."* ]]; then
|
||||||
secure="--insecure"
|
secure="--insecure"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user