Skip to content

Commit

Permalink
Format output to have spaces and linefeeds in the right places.
Browse files Browse the repository at this point in the history
  • Loading branch information
razorsedge committed Aug 2, 2013
1 parent d4ab6d6 commit cedc03d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions templates/smartd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cedc03d

Please sign in to comment.