diff --git a/STABLE/firewall b/STABLE/firewall index 0fcfbb0d8..43383b4a0 100755 --- a/STABLE/firewall +++ b/STABLE/firewall @@ -1665,16 +1665,16 @@ check_config() { determine_interfaces determine_hosts + echo "Validating policy file..." + + validate_policy + echo "Validating rules file..." rules=`find_file rules` strip_file rules $rules process_rules - - echo "Validating policy file..." - - validate_policy - + rm -rf $TMP_DIR echo "Configuration Validated" diff --git a/Shorewall/firewall b/Shorewall/firewall index 0fcfbb0d8..43383b4a0 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -1665,16 +1665,16 @@ check_config() { determine_interfaces determine_hosts + echo "Validating policy file..." + + validate_policy + echo "Validating rules file..." rules=`find_file rules` strip_file rules $rules process_rules - - echo "Validating policy file..." - - validate_policy - + rm -rf $TMP_DIR echo "Configuration Validated"