Merge pull request #1348 from pi-hole/fix/update-without-web

Source setupVars in the updater before attempting to use it
This commit is contained in:
Mcat12 2017-03-21 18:18:03 -04:00 committed by GitHub
commit 52baf26d7d
1 changed files with 1 additions and 0 deletions

View File

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