forked from extern/shorewall_code
Add some comments in get_params()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
3973cdf0da
commit
5a3589b9a6
@ -5268,8 +5268,14 @@ sub get_params( $ ) {
|
||||
|
||||
for ( keys %params ) {
|
||||
if ( /[^\w]/ ) {
|
||||
#
|
||||
# Useless variable with special characters in its name
|
||||
#
|
||||
delete $params{$_};
|
||||
} elsif ( /^(?:SHLVL|OLDPWD)$/ ) {
|
||||
#
|
||||
# The shell running getparams generates those
|
||||
#
|
||||
delete $params{$_};
|
||||
} else {
|
||||
unless ( $_ eq 'SHOREWALL_INIT_SCRIPT' ) {
|
||||
|
Loading…
Reference in New Issue
Block a user