Correct variable name

This commit is contained in:
DL6ER 2017-03-11 16:38:28 +01:00
parent 8cb66544d2
commit d4a49d192f
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD

View file

@ -106,7 +106,7 @@ checkout()
exit 1;
fi
if [[ ${INSTALL_WEB} ]]; then
if ! is_repo "${ADMIN_INTERFACE_DIR}" ; then
if ! is_repo "${webInterfaceDir}" ; then
echo "::: Critical Error: Web Admin repo is missing from system!"
echo "::: Please re-run install script from https://github.com/pi-hole/pi-hole"
exit 1;