mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 15:18:53 +01:00
Another Perl 5.12 issue
This commit is contained in:
parent
63e5f6aff9
commit
407b92829f
@ -2074,7 +2074,7 @@ sub default_log_level( $$ ) {
|
||||
#
|
||||
sub check_trivalue( $$ ) {
|
||||
my ( $var, $default) = @_;
|
||||
my $val = "\L$config{$var}";
|
||||
my $val = lc( $config{$var} || '' );
|
||||
|
||||
if ( defined $val ) {
|
||||
if ( $val eq 'yes' || $val eq 'on' ) {
|
||||
|
Loading…
Reference in New Issue
Block a user