+
+ #
+ # Add any additional rsync args
+ #
+ $rsyncArgs = [@$rsyncArgs, @{$conf->{RsyncArgsExtra}}]
+ if ( ref($conf->{RsyncArgsExtra}) eq 'ARRAY' );
+
+ #
+ # Merge variables into $rsyncArgs
+ #
+ $rsyncArgs = $bpc->cmdVarSubstitute($rsyncArgs, {
+ host => $t->{host},
+ hostIP => $t->{hostIP},
+ client => $t->{client},
+ confDir => $conf->{ConfDir},
+ });
+