diff options
author | Dan Schaper <dan.schaper@pi-hole.net> | 2022-10-10 07:10:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 07:10:23 +0300 |
commit | fed58f03bf0121f69defec19a5ea680bf0c369df (patch) | |
tree | ba00874210e19ff92270223029266ec62e15fcbc | |
parent | 46986714d41732f99cb4f4fd57d0fbc787a4aa76 (diff) | |
parent | c5b3b8dd680c9a288fc6ce6e974e2797de9ce9b7 (diff) |
Fix `pihole -r` dialog exit (#4965)
-rwxr-xr-x | automated install/basic-install.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index f3df72e6..d4c1ce77 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -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}" |