Rsync: support for backupninja's test option (#8196)

This commit is contained in:
Silvio Rhatto 2014-11-05 11:18:11 -02:00
parent 8b6b607d60
commit c649339ba4

View File

@ -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