Don't re-stat action files in process_action()

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-03-15 09:03:36 -07:00
parent 71c26beab4
commit 796f191d48

View File

@ -1818,8 +1818,6 @@ sub process_action(\$\$$) {
my $actionfile = $actionref->{file}; my $actionfile = $actionref->{file};
fatal_error "Missing Action File ($actionfile)" unless -f $actionfile;
progress_message2 "$doing $actionfile for chain $chainref->{name}..."; progress_message2 "$doing $actionfile for chain $chainref->{name}...";
push_open $actionfile, 2, 1, undef, 2; push_open $actionfile, 2, 1, undef, 2;