Check if /etc/logrotate.d exists

检测是否存在目录/etc/logrotate.d