fix attempts
This commit is contained in:
parent
d1fdcd4347
commit
2b75573482
@ -54,7 +54,7 @@ while true; do
|
|||||||
fi
|
fi
|
||||||
msg_error "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 -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