Source setupVars before attempting to use it

Fixes #1347
This commit is contained in:
Mcat12 2017-03-21 18:01:51 -04:00 committed by GitHub
parent f32ad7699d
commit fb3e6ee35c
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ FTLcheckUpdate() {
main() { main() {
local pihole_version_current local pihole_version_current
local web_version_current local web_version_current
source "${setupVars}"
#This is unlikely #This is unlikely
if ! is_repo "${PI_HOLE_FILES_DIR}" ; then if ! is_repo "${PI_HOLE_FILES_DIR}" ; then