diff options
Diffstat (limited to 'templates/backupninja.conf.erb')
-rw-r--r-- | templates/backupninja.conf.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/backupninja.conf.erb b/templates/backupninja.conf.erb index 6b0a0dd..7706a61 100644 --- a/templates/backupninja.conf.erb +++ b/templates/backupninja.conf.erb @@ -8,13 +8,13 @@ when = <%= send(:when) %> reportemail = <%= @reportemail %> reportsuccess = <%= @reportsuccess ? 'yes' : 'no' %> reportwarning = <%= @reportwarning ? 'yes' : 'no' %> -<% if @reporthost -%> +<% if reporthost.is_a? String -%> <%= 'reporthost = ' + @reporthost %> <% end -%> -<% if @reportuser -%> +<% if reportuser.is_a? String -%> <%= 'reportuser = ' + @reportuser %> <% end -%> -<% if @reportdirectory -%> +<% if reportdirectory.is_a? String -%> <%= 'reportdirectory = ' + @reportdirectory %> <% end -%> logfile = <%= @logfile %> |