Fix formatting in chooseInterface function (#6435)

This commit is contained in:
Adam Warner
2025-10-25 11:38:21 +01:00
committed by GitHub
+2 -1
View File
@@ -694,10 +694,11 @@ chooseInterface() {
status="OFF" status="OFF"
done done
# Disable check for double quote here as we are passing a string with spaces # Disable check for double quote here as we are passing a string with spaces
# shellcheck disable=SC2086
PIHOLE_INTERFACE=$(dialog --no-shadow --keep-tite --output-fd 1 \ PIHOLE_INTERFACE=$(dialog --no-shadow --keep-tite --output-fd 1 \
--cancel-label "Exit" --ok-label "Select" \ --cancel-label "Exit" --ok-label "Select" \
--radiolist "Choose An Interface (press space to toggle selection)" \ --radiolist "Choose An Interface (press space to toggle selection)" \
${r} ${c} "${interfaceCount}" "${interfacesList}") ${r} ${c} "${interfaceCount}" ${interfacesList})
result=$? result=$?
case ${result} in case ${result} in