forked from extern/shorewall_code
Avoid some 'check worked, restart did not' situations
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5721 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
7592f5cb2f
commit
c13b504c14
@ -769,15 +769,16 @@ sub compile_firewall( $ ) {
|
||||
progress_message2 "$doing Accounting...";
|
||||
setup_accounting;
|
||||
|
||||
progress_message2 'Generating Rule Matrix...';
|
||||
generate_matrix;
|
||||
generate_script_3;
|
||||
|
||||
if ( $command eq 'check' ) {
|
||||
progress_message3 "Shorewall configuration verified";
|
||||
} else {
|
||||
#
|
||||
# Finish the script.
|
||||
#
|
||||
progress_message2 'Generating Rule Matrix...';
|
||||
generate_matrix;
|
||||
generate_script_3;
|
||||
finalize_object;
|
||||
#
|
||||
# And generate the auxilary config file
|
||||
|
Loading…
Reference in New Issue
Block a user