From cedc03dee1216bb674462729882d8213f8bc14fe Mon Sep 17 00:00:00 2001 From: Michael Arnold Date: Thu, 1 Aug 2013 22:12:54 -0700 Subject: [PATCH] Format output to have spaces and linefeeds in the right places. --- templates/smartd.conf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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