Skip to content

A platform for community discussion. Free, open, simple.

FIX: script was missing newlines when generating hosts

Sam6acabec4233a
diff --git a/script/cache_critical_dns b/script/cache_critical_dns
index 3ce06c1dc95..613a3c7b2b5 100755
--- a/script/cache_critical_dns
+++ b/script/cache_critical_dns
@@ -34,6 +34,7 @@ def swap_address(hosts, name, ips)
next if hostname == name
end
new_file << line
+ new_file << "\n"
end
ips.each do |ip|