aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-09-20 19:08:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-09-20 19:08:08 -0300
commit159d181c7ed5db838d6bd3f55d93fd72a49d7868 (patch)
tree368c152a08bb1eb030a11b1dfed27fea5ce89c1a /files
parent15279ff9aee9ede464655fea1c32c3163970c868 (diff)
downloadpuppet-backup-159d181c7ed5db838d6bd3f55d93fd72a49d7868.tar.gz
puppet-backup-159d181c7ed5db838d6bd3f55d93fd72a49d7868.tar.bz2
Minor fix at rsync handler (2)
Diffstat (limited to 'files')
-rw-r--r--files/handlers/rsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/handlers/rsync b/files/handlers/rsync
index eca4121..7c400f1 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"
+ metadata="$backuproot/metadata/\$rottype"
mkdir -p \$metadata.1
if [ ! -d \$dir.1 ]; then