From e45bf729e0033bf6340c22424e7f7fc357279106 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sat, 14 Jan 2023 06:15:29 +0100 Subject: [PATCH] fix: minimald unbound --- templates/rsync-backup.sh.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/rsync-backup.sh.j2 b/templates/rsync-backup.sh.j2 index 48632eb..fda95cf 100644 --- a/templates/rsync-backup.sh.j2 +++ b/templates/rsync-backup.sh.j2 @@ -4,6 +4,7 @@ set -eu mkdir -p {{ hostname_base }} cd {{ hostname_base }} +TYPE="" if [ $# -ne 0 ]; then TYPE=$1 fi @@ -49,7 +50,7 @@ if [ $RSYNC_SUCCESS -eq 0 ]; then # if size changed was copied save new size # {% if not size_change_commands %} - echo No Sizes to notifiy + echo No sizes to notifiy {% endif %} {% for cmd in size_change_commands %} {{ cmd }}