From 06412e03431c2ed125481486d34f6e7efd09f1df Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 16 Aug 2010 21:56:13 -0300 Subject: Right now just local origin and remote destination is supported (2) --- templates/rsync.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/rsync.conf.erb') diff --git a/templates/rsync.conf.erb b/templates/rsync.conf.erb index 594683c..1f0a503 100644 --- a/templates/rsync.conf.erb +++ b/templates/rsync.conf.erb @@ -12,7 +12,7 @@ end -%> [source] -<%- %w{from testconnect include exclude ssh protocol rsync rssync_options exclude_vserver, numericids, compress, bandwidthlimit, remote_rsync, id_file, batch, batchbase, filelist, filelistbase}.each do |v| +<%- %w{from include exclude}.each do |v| if has_variable?(v) and instance_variable_get("@#{v}").to_s != "false" -%> <%= v + ' = ' + instance_variable_get("@#{v}").to_s %> <%- -- cgit v1.2.3