From 304dc65ae96eb3d020c14aa2be52c33c729932cc Mon Sep 17 00:00:00 2001 From: Johan Van de Wauw Date: Thu, 12 Oct 2023 08:54:36 +0200 Subject: [PATCH] Make sure stdin keeps working --- 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 64302b1..a140676 100644 --- a/templates/restic_script_Linux.j2 +++ b/templates/restic_script_Linux.j2 @@ -183,7 +183,7 @@ set -uxo pipefail Define paths #} {% macro paths(repo) -%} -{% if repo.src is defined and repo.src != None and (repo.src is not string) %}{%for path in repo.src %} --path {{ path }}{% endfor %}{%elif repo.src is string %}--path {{repo.src}} {% else %}{{ repo.stdin_filename }}{% endif %} +{% if repo.src is defined and repo.src != None and (repo.src is not string) %}{%for path in repo.src %} --path {{ path }}{% endfor %}{%elif repo.src is string %}--path {{repo.src}} {% else %} --path {{ repo.stdin_filename }}{% endif %} {%- endmacro %} {# Define retention pattern