mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-14 03:34:31 +01:00
Omit warning message
This commit is contained in:
parent
cdb75bfd96
commit
b224eb80d5
@ -2905,13 +2905,9 @@ sub get_params() {
|
|||||||
|
|
||||||
fatal_error "Processing of $fn failed" if $?;
|
fatal_error "Processing of $fn failed" if $?;
|
||||||
|
|
||||||
my $variable;
|
|
||||||
|
|
||||||
for ( @params ) {
|
for ( @params ) {
|
||||||
if ( /^export (.*?)='(.*)'$/ ) {
|
if ( /^export (.*?)='(.*)'$/ ) {
|
||||||
$params{$variable = $1} = $2 unless $1 eq '_';
|
$params{$1} = $2 unless $1 eq '_';
|
||||||
} elsif ( /^export (.*?)='/ ) {
|
|
||||||
warning_message "Exported symbol '$1' ignored";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user