mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Fix unbound variable after #7146
This commit is contained in:
parent
93207bfd1c
commit
0e3e502d52
@ -56,6 +56,7 @@ function verify-prereqs {
|
||||
if [[ "${KUBE_PROMPT_FOR_UPDATE}" != "y" ]]; then
|
||||
gcloud_prompt="-q"
|
||||
fi
|
||||
local sudo_prefix=""
|
||||
if [ ! -w $(dirname `which gcloud`) ]; then
|
||||
sudo_prefix="sudo"
|
||||
fi
|
||||
|
@ -94,6 +94,7 @@ function verify-prereqs() {
|
||||
if [[ "${KUBE_PROMPT_FOR_UPDATE}" != "y" ]]; then
|
||||
gcloud_prompt="-q"
|
||||
fi
|
||||
local sudo_prefix=""
|
||||
if [ ! -w $(dirname `which gcloud`) ]; then
|
||||
sudo_prefix="sudo"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user