diff options
author | Christian Breunig <christian@poessinger.com> | 2024-04-09 17:11:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 17:11:41 +0200 |
commit | 2e2f4cd1a5d9df38780b14e3d4c5d4b3a1afdc15 (patch) | |
tree | 7c58c0aa465518f85f1038a67cc7f2292bb4a8be | |
parent | 49dd3dc21d7069c1934541c05ecb2201bd8313a2 (diff) | |
parent | 572f8dbef0c5a596dfbe7bd9284238016662762e (diff) | |
download | vyatta-cfg-firewall-2e2f4cd1a5d9df38780b14e3d4c5d4b3a1afdc15.tar.gz vyatta-cfg-firewall-2e2f4cd1a5d9df38780b14e3d4c5d4b3a1afdc15.zip |
T6215: Replace confusing error messages with clear ones
-rwxr-xr-x | scripts/firewall/vyatta-firewall.pl | 2 |
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; } |