forked from extern/shorewall_code
Correct the test for the existence of the routestopped file
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8ad63b53ba
commit
12f8cbae29
@ -2486,7 +2486,7 @@ EOF
|
||||
|
||||
if ( $routestopped ) {
|
||||
convert_routestopped;
|
||||
} elsif ( my $fn = find_file 'routestopped' ) {
|
||||
} elsif ( -f ( my $fn = find_file 'routestopped' ) ) {
|
||||
warning_message "The routestopped file is no longer supported - use '$product update -s' to convert $fn to an equivalent 'stoppedrules' file";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user