mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-24 06:29:03 +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 ( $$ ) {
|
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…
Reference in New Issue
Block a user