client: fix shell syntax error

This commit is contained in:
Jérémy Lecour 2024-05-14 08:18:02 +02:00 committed by Jérémy Lecour
parent f3cfda48f7
commit 0e98c6d4cd
Signed by: jlecour
SSH key fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY
2 changed files with 3 additions and 1 deletions

View file

@ -21,6 +21,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Fixed
* client: fix shell syntax error
### Security
## [24.05] - 2022-05-02

View file

@ -105,7 +105,7 @@ test_server() {
pick_server() {
local -i increment=${1:-0}
local -i list_length=${#SERVERS[@]}
local sync_name=${2:""}
local sync_name=${2:-""}
if (( increment >= list_length )); then
# We've reached the end of the list