From 22f7a6b83117c04167fd9bda47bcc8fb3a118626 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Tue, 14 May 2024 08:24:57 +0200 Subject: [PATCH] evobackup-client: upstream release 24.05.1 --- CHANGELOG.md | 2 +- evobackup-client/files/upstream/CHANGELOG.md | 6 ++++++ evobackup-client/files/upstream/lib/main.sh | 2 +- evobackup-client/files/upstream/lib/utilities.sh | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c939b93a..8238769f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ The **patch** part is incremented if multiple releases happen the same month ### Changed -* evobackup-client: upstream release 24.05 +* evobackup-client: upstream release 24.05.1 * evolinux-base: improve adding the current user to SSH AllowGroups of AllowUsers * evolinux-users: improve SSH configuration diff --git a/evobackup-client/files/upstream/CHANGELOG.md b/evobackup-client/files/upstream/CHANGELOG.md index a62b459f..d2e506e1 100644 --- a/evobackup-client/files/upstream/CHANGELOG.md +++ b/evobackup-client/files/upstream/CHANGELOG.md @@ -23,6 +23,12 @@ The **patch** part changes is incremented if multiple releases happen the same m ### Security +## [24.05.1] - 2022-05-14 + +### Fixed + +* client: fix shell syntax error + ## [24.05] - 2022-05-02 ### Added diff --git a/evobackup-client/files/upstream/lib/main.sh b/evobackup-client/files/upstream/lib/main.sh index f8e29fa0..999521e6 100644 --- a/evobackup-client/files/upstream/lib/main.sh +++ b/evobackup-client/files/upstream/lib/main.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # shellcheck disable=SC2034,SC2317 -readonly VERSION="24.05" +readonly VERSION="24.05.1" # set all programs to C language (english) export LC_ALL=C diff --git a/evobackup-client/files/upstream/lib/utilities.sh b/evobackup-client/files/upstream/lib/utilities.sh index e14a4341..58c6bcca 100644 --- a/evobackup-client/files/upstream/lib/utilities.sh +++ b/evobackup-client/files/upstream/lib/utilities.sh @@ -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