From: Silvio Rhatto Date: Mon, 20 Sep 2010 22:05:51 +0000 (-0300) Subject: Minor fix at rsync handler X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=15279ff9aee9ede464655fea1c32c3163970c868;p=puppet-backup.git Minor fix at rsync handler --- diff --git a/files/handlers/rsync b/files/handlers/rsync index e55b512..eca4121 100644 --- a/files/handlers/rsync +++ b/files/handlers/rsync @@ -487,7 +487,7 @@ function rotate_long_remote { for rottype in daily weekly monthly; do seconds=\$((seconds_\${rottype})) dir="$backuproot/\$rottype" - metadata="$backuproot/metadata/\$rottype.1" + metadata="$backuproot/metadata" mkdir -p \$metadata.1 if [ ! -d \$dir.1 ]; then