aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/dhcpd.conf.debian.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/dhcpd.conf.debian.erb b/templates/dhcpd.conf.debian.erb
index 7606c0c..ee95bee 100644
--- a/templates/dhcpd.conf.debian.erb
+++ b/templates/dhcpd.conf.debian.erb
@@ -18,8 +18,8 @@ authoritative;
#authoritative;
<% end -%>
-<% if dhcpd_opts and not dhcpd_opts.empty? -%>
-<%= dhcpd_opts.collect! {|i| "#{i}" }.join(";\n") %>
+<% if has_variable?('dhcpd_opts') and not dhcpd_opts.empty? -%>
+<%= dhcpd_opts.join(";\n") %>
<% end -%>
# Use this to send dhcp log messages to a different log file (you also