mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-07 14:08:52 +01:00
Quiet down the Perl interpreter on some boxen
This commit is contained in:
parent
096ede3d2a
commit
224f1798af
@ -1899,9 +1899,11 @@ sub default ( $$ ) {
|
||||
sub default_yes_no ( $$ ) {
|
||||
my ( $var, $val ) = @_;
|
||||
|
||||
my $curval = "\L$config{$var}";
|
||||
my $curval = $config{$var};
|
||||
|
||||
if ( defined $curval && $curval ne '' ) {
|
||||
$curval = lc $curval;
|
||||
|
||||
if ( $curval eq 'no' ) {
|
||||
$config{$var} = '';
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user