From 91e9038bda098425a5d39081c27f6799fbbdb7f8 Mon Sep 17 00:00:00 2001 From: redxef Date: Fri, 17 Feb 2023 03:01:40 +0100 Subject: [PATCH] Fix shellcheck disable placement. --- tarback.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tarback.sh b/tarback.sh index 67d6e45..c101bd8 100755 --- a/tarback.sh +++ b/tarback.sh @@ -83,10 +83,10 @@ while getopts "$short_options" arg; do case "$arg" in p) # source plugin file - # shellcheck disable=SC1090 # disable cannot follow source sourced=false for loc in $TARBACK_PLUGIN_SEARCH_PATH; do if [ -e "$loc/tarback/$OPTARG.sh" ]; then + # shellcheck disable=SC1090 # disable cannot follow source . "$loc/tarback/$OPTARG.sh" sourced=true break