Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 7cef3bb5c7a8519e34aa082c0b188090 > files > 12

logrotate-3.7.9-0.1mdv2010.2.i586.rpm

#!/bin/sh

/usr/sbin/logrotate /etc/logrotate.conf >/dev/null 2>&1
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
    /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0