freedombone/tests/check-logrotate.sh

6 lines
95 B
Bash
Raw Normal View History

#!/bin/bash
if [ $(find /etc/cron.d*/ -name logrotate | wc -l) -eq 0 ];then
exit 1
fi