Shellcheck is not a fan of sourcing scripts it does not know about. Add Directive to stop shellcheck from checking this.

Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
Adam Warner 2018-09-30 19:45:04 +01:00
parent 7d78f6314a
commit 0627e68078
No known key found for this signature in database
GPG key ID: F5410858022DA5EB

View file

@ -38,6 +38,7 @@ function get_local_version() {
}
# Source the setupvars config file
# shellcheck disable=SC1091
. /etc/pihole/setupVars.conf
if [[ "$2" == "remote" ]]; then