From 499bd5f0e65d13f4748c5693023b681f4a80b09e Mon Sep 17 00:00:00 2001 From: "Costa Tsaousis (ktsaou)" Date: Fri, 17 Mar 2017 01:52:09 +0200 Subject: [PATCH] fix for accounting name --- sbin/firehol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/firehol b/sbin/firehol index a27826f..a71bb6a 100755 --- a/sbin/firehol +++ b/sbin/firehol @@ -7640,8 +7640,8 @@ rule() { test ${softwarnings} -eq 1 -a ! -z "${not}" && softwarning "Cannot negate an accounting. 'not' ignored." if [ ${ENABLE_ACCOUNTING} -eq 1 ] then - accounting="$2" - FIREHOL_NFACCT[$accounting]="1" + accounting="${1}" + FIREHOL_NFACCT[${accounting}]="1" elif [ ${ACCOUNTING_WARNING} -eq 1 ] then softwarning "Accounting is requested, but accounting is disabled. Is nfacct installed?"