network, openbsd: Do not output unneccessary newlines when options not present.

This commit is contained in:
Ossi Herrala 2013-10-30 07:08:23 +00:00
parent 14a06d8119
commit 1f0880ceef

View file

@ -1,5 +1,5 @@
<%= @options.join("\n") unless @options.empty? %> <%= @options.join("\n")+"\n" unless @options.empty? -%>
<% if @proto == 'dhcp' -%> <% if @proto == 'dhcp' %>
dhcp NONE NONE NONE dhcp NONE NONE NONE
<% elsif @proto == 'none' -%> <% elsif @proto == 'none' -%>
up up