forked from extern/shorewall_code
Correctly handle expansion of option names
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
da363880a9
commit
0b8945da8e
@ -3689,6 +3689,7 @@ sub expand_variables( \$ ) {
|
||||
$usedcaller = USEDCALLER if $var eq 'caller';
|
||||
} else {
|
||||
fatal_error "Undefined shell variable (\$$var)" unless $config{IGNOREUNKNOWNVARIABLES} || exists $config{$var};
|
||||
$val = $config{$var};
|
||||
}
|
||||
|
||||
$val = '' unless defined $val;
|
||||
|
Loading…
Reference in New Issue
Block a user