Correct dodgy wild card expansion

PR:	20514
This commit is contained in:
Brian Somers 2000-08-10 10:58:44 +00:00
parent 4ffc1d3dad
commit 3a5cb44818

View File

@ -24,7 +24,13 @@ case "$daily_status_mail_rejects_enable" in
{
while [ $n -ge 0 ]
do
[ -f /var/log/maillog.$n* ] && zcat -fc /var/log/maillog.$n*
if [ -f /var/log/maillog.$n ]
then
cat /var/log/maillog.$n
elif [ -f /var/log/maillog.$n.gz ]
then
zcat -fc /var/log/maillog.$n.gz
fi
n=$(($n - 1))
done
cat /var/log/maillog