summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-03 08:43:14 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-03 08:43:14 +0000
commita486197bd6eca23fa97474e475e56ecee59981f8 (patch)
tree92852c98e4b980083bc1407c4d95b15e9b9e7def /app-admin/sysklogd/files
parentppc-macos fix (diff)
downloadhistorical-a486197bd6eca23fa97474e475e56ecee59981f8.tar.gz
historical-a486197bd6eca23fa97474e475e56ecee59981f8.tar.bz2
historical-a486197bd6eca23fa97474e475e56ecee59981f8.zip
dont use -a and thus screw up news log files #40304
Diffstat (limited to 'app-admin/sysklogd/files')
-rw-r--r--app-admin/sysklogd/files/syslog-cron6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-admin/sysklogd/files/syslog-cron b/app-admin/sysklogd/files/syslog-cron
index da3de099d3ba..8ee555a55af3 100644
--- a/app-admin/sysklogd/files/syslog-cron
+++ b/app-admin/sysklogd/files/syslog-cron
@@ -8,17 +8,17 @@
# stuff
#
# Written by Martin Schulze <joey@debian.org>.
-# $Id: syslog-cron,v 1.4 2003/11/13 19:07:11 avenj Exp $
+# $Id: syslog-cron,v 1.5 2004/10/03 08:43:14 vapier Exp $
cd /var/log
-for LOG in `/usr/sbin/syslogd-listfiles -a`
+for LOG in `/usr/sbin/syslogd-listfiles`
do
if [ -f $LOG ]; then
/usr/sbin/savelog -g adm -m 640 -u root -c 7 $LOG >/dev/null
fi
done
-for LOG in `/usr/sbin/syslogd-listfiles --auth -a`
+for LOG in `/usr/sbin/syslogd-listfiles --auth`
do
if [ -f $LOG ]; then
/bin/chown root:adm $LOG