diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index ea8819e9f..62a0c0c55 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -2906,11 +2906,9 @@ sub get_params() { fatal_error "Processing of $fn failed" if $?; for ( @params ) { - if ( /^(.*?)=(.*)$/ ) { + if ( /^export (.*?)='(.*)'$/ ) { $params{$1} = $2 unless $1 eq '_'; - } else { - warning_message "Unrecognized output from 'env' ($_) ignored"; - } + } } } } diff --git a/Shorewall/Perl/getparams b/Shorewall/Perl/getparams index 65b8ac69c..605f2132b 100755 --- a/Shorewall/Perl/getparams +++ b/Shorewall/Perl/getparams @@ -32,4 +32,4 @@ set -a set +a -env +export -p diff --git a/Shorewall/releasenotes.txt b/Shorewall/releasenotes.txt index 74877174e..07aa00cf3 100644 --- a/Shorewall/releasenotes.txt +++ b/Shorewall/releasenotes.txt @@ -17,11 +17,7 @@ VI. PROBLEMS CORRECTED AND NEW FEATURES IN PRIOR RELEASES 1) If the output of 'env' contained a multi-line value, then compilation failed with an Internal Error. The code has been - changed so that the compiler now emits a warning and continues: - - WARNING: Unrecognized output from 'env' (...) ignored - - where ... is the output. + changed to ignore exported symbols with multi-line values. 4.4.15