From ee3eee802d87afad7981a862d24a1c475b0850bd Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Tue, 4 Aug 2026 18:22:54 +0200 Subject: [PATCH] fix shellcheck issue --- src/backup | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 \ -- 2.47.3