Update npmplus-install.sh

This commit is contained in:
CanbiZ 2025-03-11 15:03:37 +01:00
parent b75a3bf324
commit adf595af24

View File

@ -52,10 +52,10 @@ while true; do
if validate_tz "$TZ_INPUT"; then if validate_tz "$TZ_INPUT"; then
break break
fi fi
echo "❌ Invalid timezone! Please enter a valid TZ identifier." msg_error "Invalid timezone! Please enter a valid TZ identifier."
((attempts++)) ((attempts++))
if ((attempts >= 3)); then if ((attempts >= 3)); then
echo "❌ Maximum attempts reached. Exiting." msg_error "Maximum attempts reached. Exiting."
exit 1 exit 1
fi fi
done done