SWAG regarding LOG_VERBOSITY issue

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-04-07 13:43:57 -07:00
parent c49e3076ec
commit 3092a85999

View File

@ -2869,6 +2869,7 @@ sub get_configuration( $ ) {
my $val = numeric_value( $config{LOG_VERBOSITY} );
fatal_error "Invalid LOG_VERBOSITY ($config{LOG_VERBOSITY} )" unless defined( $val ) && ( $val >= -1 ) && ( $val <= 2 );
$config{STARTUP_LOG} = '' if $config{LOG_VERBOSITY} < 0;
$config{LOG_VERBOSITY} = $val;
}
} else {
$config{LOG_VERBOSITY} = 2;