forked from extern/shorewall_code
Fix for 0 values propagated to the script
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
94fb15bec3
commit
3a9fc7ceb1
@ -3050,7 +3050,8 @@ sub get_configuration( $ ) {
|
|||||||
#
|
#
|
||||||
sub propagateconfig() {
|
sub propagateconfig() {
|
||||||
for my $option ( @propagateconfig ) {
|
for my $option ( @propagateconfig ) {
|
||||||
my $value = $config{$option} || '';
|
my $value = $config{$option};
|
||||||
|
$value = '' unless defined $value;
|
||||||
emit "$option=\"$value\"";
|
emit "$option=\"$value\"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user