ci: fix linter errors

This commit is contained in:
Michael Grote 2023-11-09 15:35:14 +01:00
parent 5f4995e65a
commit 5dc74aadda

2
run.sh
View file

@ -101,7 +101,7 @@ if [ -n "${SMTP_NETWORKS}" ]; then
if grep -Eq "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/[0-9]{1,2}" <<<$i ; then
nets+=", $i"
elif grep -Eq "$ipv6re" <<<$i ; then
# shellcheck disable=SC1073
# shellcheck disable=SC1073,SC1126,SC1072
readarray -d \/ -t arr < <(printf '%s' "$i") # shellcheck disable=SC1001
nets+=", [${arr[0]}]/${arr[1]}"
else