Merge pull request #2284 from pi-hole/bugfix/source_webpage

Added missing `.` for sourced file.
This commit is contained in:
Dan Schaper 2018-07-17 06:38:32 -07:00 committed by GitHub
commit b1e9c05bee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2429,7 +2429,7 @@ main() {
# generate a random password # generate a random password
pw=$(tr -dc _A-Z-a-z-0-9 < /dev/urandom | head -c 8) pw=$(tr -dc _A-Z-a-z-0-9 < /dev/urandom | head -c 8)
# shellcheck disable=SC1091 # shellcheck disable=SC1091
/opt/pihole/webpage.sh . /opt/pihole/webpage.sh
echo "WEBPASSWORD=$(HashPassword ${pw})" >> ${setupVars} echo "WEBPASSWORD=$(HashPassword ${pw})" >> ${setupVars}
fi fi
fi fi