[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2116: xntp cron bug



Package: xntp
Version: 3.4x-2

The weekly cron script for xntp in /etc/cron.weekly/xntp can sometimes return
the following error:

    rm: /var/log/ntpstats: is a directory

Fix by replacing:

	find /var/log/ntpstats -mtime +7 -exec rm {} \;

with:

	find /var/log/ntpstats -type f -mtime +7 -exec rm {} \;

--
Robert Leslie
rob@advantage.org


Reply to: