diff --git a/templates/smartd.conf b/templates/smartd.conf index d89269d..9f81ab7 100644 --- a/templates/smartd.conf +++ b/templates/smartd.conf @@ -2,9 +2,7 @@ DEFAULT -m <%= @mail_to %> -M <%= @warning_schedule %> <% @devices.each do |device| -%> <%= device -%> -<% if @device_opts.has_key?(device) -%> -<%= @device_opts[device] -%> -<% end #newline here, please %> +<% if @device_opts.has_key?(device) -%> <%= @device_opts[device] %><% end %> <% end -%> <% # it doesn't matter which megaraid block device we use to poll as long as all