From d356ba4822edb1c72dcf9eeebfcfb7c66287049d Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Sat, 24 Jan 2026 18:20:53 +0100 Subject: [PATCH] fix(authelia): use POSIX-safe arithmetic to avoid exit code 1 with set -e (#11125) --- install/authelia-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install/authelia-install.sh b/install/authelia-install.sh index 25ce25a7c..755e3de4b 100644 --- a/install/authelia-install.sh +++ b/install/authelia-install.sh @@ -15,11 +15,10 @@ update_os fetch_and_deploy_gh_release "authelia" "authelia/authelia" "binary" -get_lxc_ip MAX_ATTEMPTS=3 attempt=0 while true; do - ((attempt++)) + attempt=$((attempt + 1)) read -rp "${TAB3}Enter your domain or IP (ex. example.com or 192.168.1.100): " DOMAIN if [[ -z "$DOMAIN" ]]; then if ((attempt >= MAX_ATTEMPTS)); then