mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
Fix pihole -r
dialog exit (#4965)
This commit is contained in:
commit
fed58f03bf
@ -2022,9 +2022,8 @@ update_dialogs() {
|
|||||||
\\n($strAdd)"\
|
\\n($strAdd)"\
|
||||||
"${r}" "${c}" 2 \
|
"${r}" "${c}" 2 \
|
||||||
"${opt1a}" "${opt1b}" \
|
"${opt1a}" "${opt1b}" \
|
||||||
"${opt2a}" "${opt2b}" || true)
|
"${opt2a}" "${opt2b}") || result=$?
|
||||||
|
|
||||||
result=$?
|
|
||||||
case ${result} in
|
case ${result} in
|
||||||
"${DIALOG_CANCEL}" | "${DIALOG_ESC}")
|
"${DIALOG_CANCEL}" | "${DIALOG_ESC}")
|
||||||
printf " %b Cancel was selected, exiting installer%b\\n" "${COL_LIGHT_RED}" "${COL_NC}"
|
printf " %b Cancel was selected, exiting installer%b\\n" "${COL_LIGHT_RED}" "${COL_NC}"
|
||||||
|
Loading…
Reference in New Issue
Block a user