95d8b5ff88
Sat Sep 01 2001 Florian La Roche <Florian.LaRoche@redhat.de> - do not fail for ENOSYS to silently support kernels without process accounting Sun Aug 26 2001 Mike A. Harris <mharris@redhat.com> 6.3.2-7 - Change spec tag Copyright -> License - change logrotate to rotate daily, and keep 1 month (31 days) of data
12 lines
296 B
Diff
12 lines
296 B
Diff
--- acct-6.3.2/accton.c.exit Sat Sep 1 22:21:41 2001
|
|
+++ acct-6.3.2/accton.c Sat Sep 1 22:23:36 2001
|
|
@@ -108,7 +108,7 @@
|
|
acct_file = argv[optind];
|
|
}
|
|
|
|
- if (acct (acct_file) == -1)
|
|
+ if (acct (acct_file) == -1 && errno != ENOSYS)
|
|
{
|
|
int err;
|
|
extern int errno;
|