From e3f0c932df21d0b25c59193835866baa8bbdc2dc Mon Sep 17 00:00:00 2001 From: Johan Van de Wauw Date: Mon, 11 Mar 2024 09:27:45 +0100 Subject: [PATCH] Make sure list is escaped --- templates/restic_script_Linux.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/restic_script_Linux.j2 b/templates/restic_script_Linux.j2 index a140676..0d2034c 100644 --- a/templates/restic_script_Linux.j2 +++ b/templates/restic_script_Linux.j2 @@ -79,7 +79,7 @@ export B2_ACCOUNT_KEY={{ restic_repos[item.repo].b2_account_key }} BACKUP_SOURCE={{ item.src }} {% endif %} {% if item.src is defined and item.src.__class__.__name__ =='list' %} -BACKUP_SOURCE={{ item.src| join(' ') }} +BACKUP_SOURCE='{{ item.src| join(' ') }}' {% endif %} {% if item.lvm is defined %}