1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-19 06:38:17 +00:00

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