diff options
author | brian <brian@FreeBSD.org> | 2001-05-30 20:23:43 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-05-30 20:23:43 +0000 |
commit | 3322ac29631ab8a7870f51437abae91528a4158f (patch) | |
tree | 5dc7f44311fec4dd50754b2cdd91366fef005dd0 /etc/periodic/daily | |
parent | a188d3be398dd22c7aa477e8cb43f9fc948ec0d0 (diff) | |
download | FreeBSD-src-3322ac29631ab8a7870f51437abae91528a4158f.zip FreeBSD-src-3322ac29631ab8a7870f51437abae91528a4158f.tar.gz |
Default daily_accounting_flags to -q. I thought this was a typo in the
originally submitted patch (oops!).
Also check for an empty $daily_accounting_save.
Submitted by: Udo Schweigert <Udo.Schweigert@cert.siemens.de>
Diffstat (limited to 'etc/periodic/daily')
-rwxr-xr-x | etc/periodic/daily/310.accounting | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/periodic/daily/310.accounting b/etc/periodic/daily/310.accounting index 2f9792a..ceb140c 100755 --- a/etc/periodic/daily/310.accounting +++ b/etc/periodic/daily/310.accounting @@ -18,6 +18,11 @@ case "$daily_accounting_enable" in echo '$daily_accounting_enable is set but /var/account/acct' \ "doesn't exist" rc=2 + elif [ -z "$daily_accounting_save" ] + then + echo '$daily_accounting_enable is set but ' \ + '$daily_accounting_save is not' + rc=2 else echo "" echo "Rotating accounting logs and gathering statistics:" |