From 2b75573482b0f29f7074ccc9a4d01ba44c1133d4 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 11 Mar 2025 15:14:07 +0100 Subject: [PATCH] fix attempts --- install/npmplus-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/npmplus-install.sh b/install/npmplus-install.sh index 2493b8b..9865c08 100644 --- a/install/npmplus-install.sh +++ b/install/npmplus-install.sh @@ -54,7 +54,7 @@ while true; do fi msg_error "Invalid timezone! Please enter a valid TZ identifier." ((attempts++)) - if ((attempts >= 3)); then + if (($attempts -ge 3)); then msg_error "Maximum attempts reached. Exiting." exit 1 fi