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>
pull/2434/head
Adam Warner 6 years ago
parent 7d78f6314a
commit 0627e68078
No known key found for this signature in database
GPG Key ID: F5410858022DA5EB

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

Loading…
Cancel
Save