fukawi2 / husk

Natural-language DSL for iptables/netfilter firewall rules.
http://huskfw.info
6 stars 1 forks source link

husk fails when config file empty #7

Closed fukawi2 closed 11 years ago

fukawi2 commented 11 years ago

If husk is run without any settings in the config file (either empty, or everything commented) then it dies with the error:

'_SYNTAX' is not defined at blib/lib/Config/Simple.pm (autosplit into blib/lib/auto/Config/Simple/vars.al) line 1324, <FH> line 10.

fukawi2 commented 11 years ago

This is actually a failure to error handle in Config::Simple, but we can work around it.