mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 06:38:53 +01:00
Correct regular expression in process_shorewall_conf()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
dedbbf2292
commit
ea038bcecb
@ -3061,7 +3061,7 @@ sub process_shorewall_conf( $$ ) {
|
||||
#
|
||||
for ( values %config ) {
|
||||
if ( supplied $_ ) {
|
||||
expand_variables( $_ ) unless /$'(.+)'$/;
|
||||
expand_variables( $_ ) unless /^'(.+)'$/;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3085,7 +3085,8 @@ sub read_capabilities() {
|
||||
}
|
||||
|
||||
if ( $capabilities{CAPVERSION} ) {
|
||||
warning_message "Your capabilities file is out of date -- it does not contain all of the capabilities defined by $Product version $globals{VERSION}" unless $capabilities{CAPVERSION} >= $globals{CAPVERSION};
|
||||
warning_message "Your capabilities file is out of date -- it does not contain all of the capabilities defined by $Product version $globals{VERSION}"
|
||||
unless $capabilities{CAPVERSION} >= $globals{CAPVERSION};
|
||||
} else {
|
||||
warning_message "Your capabilities file may not contain all of the capabilities defined by $Product version $globals{VERSION}";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user