summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@poessinger.com>2024-04-09 17:11:41 +0200
committerGitHub <noreply@github.com>2024-04-09 17:11:41 +0200
commit2e2f4cd1a5d9df38780b14e3d4c5d4b3a1afdc15 (patch)
tree7c58c0aa465518f85f1038a67cc7f2292bb4a8be
parent49dd3dc21d7069c1934541c05ecb2201bd8313a2 (diff)
parent572f8dbef0c5a596dfbe7bd9284238016662762e (diff)
downloadvyatta-cfg-firewall-2e2f4cd1a5d9df38780b14e3d4c5d4b3a1afdc15.tar.gz
vyatta-cfg-firewall-2e2f4cd1a5d9df38780b14e3d4c5d4b3a1afdc15.zip
Merge pull request #37 from aslanvyos/equuleus1.3.81.3.7equuleus
T6215: Replace confusing error messages with clear ones
-rwxr-xr-xscripts/firewall/vyatta-firewall.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/firewall/vyatta-firewall.pl b/scripts/firewall/vyatta-firewall.pl
index 270007b..8861941 100755
--- a/scripts/firewall/vyatta-firewall.pl
+++ b/scripts/firewall/vyatta-firewall.pl
@@ -565,7 +565,7 @@ sub update_rules {
if ($all_rules_deleted and Vyatta::IpTables::Mgr::chain_referenced($table, $name, $iptables_cmd)) {
# Disallow deleting a chain if it's still referenced
- Vyatta::Config::outputError([$tree,$name],"Firewall configuration error: Cannot delete rule set \"$name\" (still in use)\n");
+ Vyatta::Config::outputError([$tree,$name],"Firewall configuration error: The firewall rule set \"$name\" cannot be empty while it is still in use\n");
exit 1;
}