From 7b6103be72acb47b45539aafbac7eb36c7443c5c Mon Sep 17 00:00:00 2001 From: hygienic-books Date: Tue, 5 Jul 2022 17:26:05 +0200 Subject: [PATCH] refactor(debug): Clearly identify exit code 5 reason --- update-firewall-source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-firewall-source.py b/update-firewall-source.py index 9f36171..dc89c60 100644 --- a/update-firewall-source.py +++ b/update-firewall-source.py @@ -29,7 +29,7 @@ import subprocess # 2 : Config file invalid, sections must define at least CONST.CFG_MANDATORY # 3 : Performing a firewalld rules check failed # 4 : Performing a firewalld rules encountered a FileNotFoundError -# 5 : Unable to open firewalld direct rules file +# 5 : Unable to open firewalld direct rules file for reading # 6 : Source and destination are identical when attempting to back up firewalld direct rules file # 7 : An option that must have a non-null value is either unset or null # 8 : Exception while adding a chain XML element to firewalld direct rules