Skip to content

Commit

Permalink
Merge pull request #120 from johanvdw/quote_multiple_sources
Browse files Browse the repository at this point in the history
Make sure backup source list is escaped
  • Loading branch information
DO1JLR authored Mar 11, 2024
2 parents 2cdf30f + e3f0c93 commit c70e0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/restic_script_Linux.j2
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,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 %}
Expand Down

0 comments on commit c70e0d6

Please sign in to comment.