forked from extern/shorewall_code
Pop open stack in run_user_exit1 and run_user_exit2
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
cd35b6a13f
commit
aac00c3cc7
@ -4375,6 +4375,7 @@ sub run_user_exit1( $ ) {
|
|||||||
|
|
||||||
if ( read_a_line( STRIP_COMMENTS | SUPPRESS_WHITESPACE | CHECK_GUNK ) ) {
|
if ( read_a_line( STRIP_COMMENTS | SUPPRESS_WHITESPACE | CHECK_GUNK ) ) {
|
||||||
close_file;
|
close_file;
|
||||||
|
pop_open;
|
||||||
|
|
||||||
my $command = qq(package Shorewall::User;\n# line 1 "$file"\n) . `cat $file`;
|
my $command = qq(package Shorewall::User;\n# line 1 "$file"\n) . `cat $file`;
|
||||||
|
|
||||||
@ -4406,6 +4407,7 @@ sub run_user_exit2( $$ ) {
|
|||||||
|
|
||||||
if ( read_a_line( STRIP_COMMENTS | SUPPRESS_WHITESPACE | CHECK_GUNK ) ) {
|
if ( read_a_line( STRIP_COMMENTS | SUPPRESS_WHITESPACE | CHECK_GUNK ) ) {
|
||||||
close_file;
|
close_file;
|
||||||
|
pop_open;
|
||||||
|
|
||||||
unless (my $return = eval `cat $file` ) {
|
unless (my $return = eval `cat $file` ) {
|
||||||
fatal_error "Couldn't parse $file: $@" if $@;
|
fatal_error "Couldn't parse $file: $@" if $@;
|
||||||
|
Loading…
Reference in New Issue
Block a user