lib/shutter/iptables.rb in shutter-0.2.3 vs lib/shutter/iptables.rb in shutter-0.2.4
- old
+ new
@@ -48,10 +48,10 @@
def clean
@base = @base.gsub(/^#.*$/, "")
@base = @base.gsub(/^$\n/, "")
# Add a newline at the end
- @base + "\n"
+ @base + "\n\n"
end
def read(file, filter=true)
#puts "Reading: #{@path}/#{file}"
lines = File.read("#{@path}/#{file}").split("\n")
\ No newline at end of file