Merge pull request #7176 from zmerlynn/fix_updown

Fix unbound variable after #7146
This commit is contained in:
Zach Loafman 2015-04-22 10:20:35 -07:00
commit f12a59465e
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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