Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Schaper <dan.schaper@pi-hole.net>2022-10-10 07:10:23 +0300
committerGitHub <noreply@github.com>2022-10-10 07:10:23 +0300
commitfed58f03bf0121f69defec19a5ea680bf0c369df (patch)
treeba00874210e19ff92270223029266ec62e15fcbc
parent46986714d41732f99cb4f4fd57d0fbc787a4aa76 (diff)
parentc5b3b8dd680c9a288fc6ce6e974e2797de9ce9b7 (diff)
Fix `pihole -r` dialog exit (#4965)
-rwxr-xr-xautomated install/basic-install.sh3
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}"