Update npmplus-install.sh
This commit is contained in:
parent
2b75573482
commit
b289c496bb
@ -53,8 +53,9 @@ while true; do
|
|||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
msg_error "Invalid timezone! Please enter a valid TZ identifier."
|
msg_error "Invalid timezone! Please enter a valid TZ identifier."
|
||||||
((attempts++))
|
|
||||||
if (($attempts -ge 3)); then
|
attempts=$((attempts + 1))
|
||||||
|
if [[ "$attempts" -ge 3 ]]; then
|
||||||
msg_error "Maximum attempts reached. Exiting."
|
msg_error "Maximum attempts reached. Exiting."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user