Merge pull request #19066 from bboreham/patch-1

Default VAGRANT_DEFAULT_PROVIDER when no provider found
pull/6/head
Fabio Yeon 2016-02-26 13:26:14 -08:00
commit 027af6359c
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ function verify-prereqs {
done
if [ -z "${provider_found}" ]; then
if [ -n "${VAGRANT_DEFAULT_PROVIDER}" ]; then
if [ -n "${VAGRANT_DEFAULT_PROVIDER:-}" ]; then
echo "Can't find the necessary components for the ${VAGRANT_DEFAULT_PROVIDER} vagrant provider."
echo "Possible reasons could be: "
echo -e "\t- vmrun utility is not in your path"