diff options
-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 |