mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-22 18:51:24 +02:00
Quiet down the Perl interpreter on some boxen
This commit is contained in:
parent
cc376ab72e
commit
2909b6fd92
@ -1899,9 +1899,11 @@ sub default ( $$ ) {
|
|||||||
sub default_yes_no ( $$ ) {
|
sub default_yes_no ( $$ ) {
|
||||||
my ( $var, $val ) = @_;
|
my ( $var, $val ) = @_;
|
||||||
|
|
||||||
my $curval = "\L$config{$var}";
|
my $curval = $config{$var};
|
||||||
|
|
||||||
if ( defined $curval && $curval ne '' ) {
|
if ( defined $curval && $curval ne '' ) {
|
||||||
|
$curval = lc $curval;
|
||||||
|
|
||||||
if ( $curval eq 'no' ) {
|
if ( $curval eq 'no' ) {
|
||||||
$config{$var} = '';
|
$config{$var} = '';
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user