diff --git a/Shorewall/Perl/Shorewall/Accounting.pm b/Shorewall/Perl/Shorewall/Accounting.pm index 8d84244fb..22e1931cd 100644 --- a/Shorewall/Perl/Shorewall/Accounting.pm +++ b/Shorewall/Perl/Shorewall/Accounting.pm @@ -417,7 +417,7 @@ sub process_accounting_rule( ) { sub setup_accounting() { - if ( my $fn = open_file 'accounting' ) { + if ( my $fn = open_file 'accounting', 1, 1 ) { first_entry "$doing $fn...";