network, openbsd: Do not output unneccessary newlines when options not present.
This commit is contained in:
parent
14a06d8119
commit
1f0880ceef
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<%= @options.join("\n") unless @options.empty? %>
|
||||
<% if @proto == 'dhcp' -%>
|
||||
<%= @options.join("\n")+"\n" unless @options.empty? -%>
|
||||
<% if @proto == 'dhcp' %>
|
||||
dhcp NONE NONE NONE
|
||||
<% elsif @proto == 'none' -%>
|
||||
up
|
||||
|
|
Loading…
Add table
Reference in a new issue