Make sure that $LOG_LEVEL is defined

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-03-10 11:06:23 -08:00
parent d9071c5308
commit 4c72b3ee58
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -5493,6 +5493,8 @@ sub process_shorewall_conf( $$ ) {
# the values are processed below is not the order in which they appear
# in the config file.
#
$config{LOG_LEVEL} = '' unless defined $config{LOG_LEVEL};
my %log_level = ( LOG_LEVEL => $config{LOG_LEVEL} );
add_variables( %log_level );