Fix pihole -r dialog exit (#4965)

This commit is contained in:
Dan Schaper 2022-10-09 21:10:23 -07:00 committed by GitHub
commit fed58f03bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2022,9 +2022,8 @@ update_dialogs() {
\\n($strAdd)"\
"${r}" "${c}" 2 \
"${opt1a}" "${opt1b}" \
"${opt2a}" "${opt2b}" || true)
"${opt2a}" "${opt2b}") || result=$?
result=$?
case ${result} in
"${DIALOG_CANCEL}" | "${DIALOG_ESC}")
printf " %b Cancel was selected, exiting installer%b\\n" "${COL_LIGHT_RED}" "${COL_NC}"