Update npmplus-install.sh
This commit is contained in:
parent
b75a3bf324
commit
adf595af24
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user