Make use of 'state=' in actions a fatal error

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-03-14 17:55:54 -07:00
parent bd2295c4c3
commit 6f04902963

View File

@ -2070,7 +2070,7 @@ sub process_actions() {
if ( $file eq 'actions.std' ) {
$state = $1;
} else {
warning_message( q(The 'state' option is ignored in the actions file) );
fatal_error( q(The 'state' option is reserved for use in the actions.std file) );
}
} else {
fatal_error "Invalid option ($_)" unless $options{$_};