mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 11:50:06 +00:00
fix(authelia): use POSIX-safe arithmetic to avoid exit code 1 with set -e (#11125)
This commit is contained in:
parent
b17b555139
commit
d356ba4822
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue