mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 10:51:02 +01:00
SWAG regarding LOG_VERBOSITY issue
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c49e3076ec
commit
3092a85999
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user