mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #7176 from zmerlynn/fix_updown
Fix unbound variable after #7146
This commit is contained in:
commit
f12a59465e
@ -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