Bugzilla bug no 45 reported and fixed by Marc Boucher marc@mbsi.ca
fi
echo ""
-find log -mtime +$AGELOG -print >$JUNK
+find log -type f -mtime +$AGELOG -print >$JUNK
if [ -s $JUNK ]; then
echo "Purge session logs older than $AGELOG days:"
for i in `$CAT $JUNK`; do
#
# Purge old stuff from the receive queue.
#
-find recvq -mtime +$AGERCV -print >$JUNK
+find recvq -type f -mtime +$AGERCV -print >$JUNK
if [ -s $JUNK ]; then
echo "Purge received facsimile older than $AGERCV days:"
(for i in `$CAT $JUNK`; do