Do less wheel-spinning during 'check'

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6839 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-07-10 19:41:58 +00:00
parent 16e1bd0e5e
commit 8993406b4b

View File

@ -753,7 +753,7 @@ sub compiler( $$$$ ) {
#
# Start Second Part of script
#
generate_script_2;
generate_script_2 unless $command eq 'check';
#
# Do all of the zone-independent stuff
#
@ -837,7 +837,6 @@ sub compiler( $$$$ ) {
progress_message2 'Generating Rule Matrix...';
generate_matrix;
generate_script_3;
if ( $command eq 'check' ) {
progress_message3 "Shorewall configuration verified";
@ -845,6 +844,7 @@ sub compiler( $$$$ ) {
#
# Finish the script.
#
generate_script_3;
finalize_object ( $export );
#
# And generate the auxilary config file