aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-11-07 14:46:48 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-11-07 14:46:48 -0200
commitb89122f4559b84aa70302ba8602dc3114479e343 (patch)
tree73b92c7ba4901c5d3f638dbe97019253aa166bfe
parentb3c7693c1598b9fc2aef77fd707a4cd8bd466412 (diff)
downloadpuppet-backup-b89122f4559b84aa70302ba8602dc3114479e343.tar.gz
puppet-backup-b89122f4559b84aa70302ba8602dc3114479e343.tar.bz2
Rsync handler patch from upstream #8196 (2)
-rw-r--r--files/handlers/rsync4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/handlers/rsync b/files/handlers/rsync
index 7a78681..2b55c61 100644
--- a/files/handlers/rsync
+++ b/files/handlers/rsync
@@ -735,6 +735,10 @@ function move_files {
function prepare_storage {
+ if [ "$test" ]; then
+ return
+ fi
+
section="`basename $SECTION`"
if [ "$format" == "short" ]; then