diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index a1087a147..3ee4ffb41 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -3050,7 +3050,8 @@ sub get_configuration( $ ) { # sub propagateconfig() { for my $option ( @propagateconfig ) { - my $value = $config{$option} || ''; + my $value = $config{$option}; + $value = '' unless defined $value; emit "$option=\"$value\""; } }