mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 19:01:19 +01:00
Fix for 0 values propagated to the script
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
3092a85999
commit
3711e64d71
@ -3106,7 +3106,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