fix format

This commit is contained in:
neil
2024-10-13 17:49:29 +02:00
parent 7362e8de4d
commit 9b2eae24d2
11 changed files with 16 additions and 17 deletions

View File

@@ -202,7 +202,7 @@ find_zone() {
# Walk through all possible zone names
strip_counter=1
while true; do
attempted_zone=$(echo "${domain}" | cut -d . -f ${strip_counter}-)
attempted_zone=$(echo "${domain}" | cut -d . -f "${strip_counter}"-)
# All possible zone names have been tried
if [ -z "${attempted_zone}" ]; then