--- /usr/tmp/TmpDir.16781-0/linux-csa/csa-2.0.0/cmd/csacom.c_1.7 2004-03-22 12:22:00.000000000 -0800 +++ linux-csa/csa-2.0.0/cmd/csacom.c 2004-03-22 12:08:53.000000000 -0800 @@ -648,6 +648,18 @@ } else { /* check /etc/csa.conf */ + char *acct_str; + + acct_str = init_char("PACCT_FILE", "/var/csa/day/pacct", TRUE); + + if ( acct_fd ) + closeacct(acct_fd); + + acct_fd = openacct(acct_str, "r"); + + if ( acct_fd == 0 ) { + acct_err(ACCT_FATAL, "Failed to open '%s'\n", acct_str); + } }