diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-11-06 11:46:03 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-11-06 11:46:03 -0200 |
commit | b3c7693c1598b9fc2aef77fd707a4cd8bd466412 (patch) | |
tree | 8f5ae963580d8049927ce1819fe8636b1e9a31fe | |
parent | 3bc1d3326b743b11687d78555dca4c9cfa204f52 (diff) | |
download | puppet-backup-b3c7693c1598b9fc2aef77fd707a4cd8bd466412.tar.gz puppet-backup-b3c7693c1598b9fc2aef77fd707a4cd8bd466412.tar.bz2 |
Rsync handler patch from upstream #8196
-rw-r--r-- | files/handlers/rsync | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/files/handlers/rsync b/files/handlers/rsync index 634f036..7a78681 100644 --- a/files/handlers/rsync +++ b/files/handlers/rsync @@ -908,6 +908,10 @@ function set_filelist { function set_rsync_options { + if [ "$test" ]; then + rsync_options="$rsync_options --dry-run" + fi + if [ "$numericids" != "0" ]; then rsync_options="$rsync_options --numeric-ids" fi |