From: Bastian Dehn Date: Tue, 4 Aug 2026 16:22:54 +0000 (+0200) Subject: fix shellcheck issue X-Git-Tag: v1.0.6^2~1^2~62 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=ee3eee802d87afad7981a862d24a1c475b0850bd;p=simple-backup.git fix shellcheck issue --- diff --git a/src/backup b/src/backup index e501d80..b392565 100755 --- a/src/backup +++ b/src/backup @@ -70,8 +70,10 @@ exists_backup_count() get_last_backup_dir_path() { local config="$1" - local backup_path=$(echo "$config" | jq --raw-output '.backup_path') - local backup_name=$(echo "$config" | jq --raw-output '.backup_name') + local backup_path= + local backup_name + backup_path=$(echo "$config" | jq --raw-output '.backup_path') + backup_name=$(echo "$config" | jq --raw-output '.backup_name') find "$backup_path" \ -maxdepth 1 \