diff options
-rw-r--r-- | handlers/rsync.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/handlers/rsync.in b/handlers/rsync.in index d0c211c..000f3ea 100644 --- a/handlers/rsync.in +++ b/handlers/rsync.in @@ -920,6 +920,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 |