diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-03 08:43:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-03 08:43:14 +0000 |
commit | 2ecdabac36c7474b8c0b7ea234feeb0ba5539e11 (patch) | |
tree | 0b7d7e6208a22ef05ca2f704b92167b57697c4af /app-admin | |
parent | ppc-macos fix (Manifest recommit) (diff) | |
download | gentoo-2-2ecdabac36c7474b8c0b7ea234feeb0ba5539e11.tar.gz gentoo-2-2ecdabac36c7474b8c0b7ea234feeb0ba5539e11.tar.bz2 gentoo-2-2ecdabac36c7474b8c0b7ea234feeb0ba5539e11.zip |
dont use -a and thus screw up news log files #40304
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/sysklogd/files/syslog-cron | 6 |
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 |