diff --git a/update-firewall-source.py b/update-firewall-source.py index 05f97c4..a9fd638 100644 --- a/update-firewall-source.py +++ b/update-firewall-source.py @@ -125,6 +125,10 @@ internal_empty_ok = [default["key"] for default in CONST.CFG_KNOWN_DEFAULTS if d config = ConfigParser(defaults=internal_defaults, converters={'list': lambda x: [i.strip() for i in x.split(',') if len(x) > 0]}) config.read(CONST.CFG_DEFAULT_ABS_PATH) +exit_code_desc = { + 5: "Unable to open firewalld direct rules file for reading", + 9: "Unable to open firewalld direct rules file for updating" +} def print_section_header(