diff options
Diffstat (limited to 'shorewall-model.lua')
-rw-r--r-- | shorewall-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shorewall-model.lua b/shorewall-model.lua index 7dee572..4acb9da 100644 --- a/shorewall-model.lua +++ b/shorewall-model.lua @@ -48,7 +48,7 @@ local function read_config(file) local filecontent = fs.read_file_as_array(path) local output = {} for k,v in pairs(filecontent) do - if not string.find ( v, "^[;#].*" ) then + if not string.find ( v, "^[;#].*" ) and not (string.find (v, "^%s*$")) then table.insert(output, v) end end |