diff options
Diffstat (limited to 'templates/rdiff.conf.erb')
-rw-r--r-- | templates/rdiff.conf.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/rdiff.conf.erb b/templates/rdiff.conf.erb index ca812ba..9d6abea 100644 --- a/templates/rdiff.conf.erb +++ b/templates/rdiff.conf.erb @@ -30,7 +30,7 @@ type = local <% end -%> [dest] -<%- %w{@type @host @directory @user @sshoptions}.each do |v| +<%- %w{type host directory user sshoptions}.each do |v| if has_variable?(v) and instance_variable_get("@#{v}").to_s != "false" -%> <%= v + ' = ' + instance_variable_get("@#{v}").to_s %> <%- |