/etc/cron.daily/sks prints unnecessary things on stdout. Therefore
root receives a mail every day. I mean "cd -" produces a "/".
Running it with -vx options shows it:
# The DB directory holds indexes and keys.
clean_directory /var/lib/sks/DB
+ clean_directory /var/lib/sks/DB
+ dir=/var/lib/sks/DB
+ '[' -d /var/lib/sks/DB ']'
+ cd /var/lib/sks/DB
+ db4.6_archive
+ xargs --no-run-if-empty rm -f
+ cd -
/
+ return 0
I think these lines
cd $dir
db4.6_archive | xargs --no-run-if-empty rm -f
cd -
might be replaced with
db4.6_archive -h $dir -d
Gabor
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]