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:
parent
7d78f6314a
commit
0627e68078
|
@ -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…
Reference in New Issue