mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Update npmplus-install.sh
This commit is contained in:
@@ -52,10 +52,10 @@ while true; do
|
||||
if validate_tz "$TZ_INPUT"; then
|
||||
break
|
||||
fi
|
||||
echo "❌ Invalid timezone! Please enter a valid TZ identifier."
|
||||
msg_error "Invalid timezone! Please enter a valid TZ identifier."
|
||||
((attempts++))
|
||||
if ((attempts >= 3)); then
|
||||
echo "❌ Maximum attempts reached. Exiting."
|
||||
msg_error "Maximum attempts reached. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user