Fix shellcheck disable placement.

This commit is contained in:
redxef 2023-02-17 03:01:40 +01:00
parent 0e1baf4255
commit 91e9038bda
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -83,10 +83,10 @@ while getopts "$short_options" arg; do
case "$arg" in case "$arg" in
p) p)
# source plugin file # source plugin file
# shellcheck disable=SC1090 # disable cannot follow source
sourced=false sourced=false
for loc in $TARBACK_PLUGIN_SEARCH_PATH; do for loc in $TARBACK_PLUGIN_SEARCH_PATH; do
if [ -e "$loc/tarback/$OPTARG.sh" ]; then if [ -e "$loc/tarback/$OPTARG.sh" ]; then
# shellcheck disable=SC1090 # disable cannot follow source
. "$loc/tarback/$OPTARG.sh" . "$loc/tarback/$OPTARG.sh"
sourced=true sourced=true
break break