network: Do not output empty lines if no options defined.

This commit is contained in:
Ossi Herrala 2013-08-14 12:47:58 +00:00
parent 36eb38017e
commit 14a06d8119

View file

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