From 0627e68078d7f0b8303b2dbab5bed4be9ba6bf9c Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sun, 30 Sep 2018 19:45:04 +0100 Subject: [PATCH] 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 --- advanced/Scripts/updatecheck.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/advanced/Scripts/updatecheck.sh b/advanced/Scripts/updatecheck.sh index b8cd9654..16b0d707 100755 --- a/advanced/Scripts/updatecheck.sh +++ b/advanced/Scripts/updatecheck.sh @@ -38,6 +38,7 @@ function get_local_version() { } # Source the setupvars config file +# shellcheck disable=SC1091 . /etc/pihole/setupVars.conf if [[ "$2" == "remote" ]]; then