From b3c7693c1598b9fc2aef77fd707a4cd8bd466412 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 6 Nov 2014 11:46:03 -0200 Subject: Rsync handler patch from upstream #8196 --- files/handlers/rsync | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3