fixing logrotate script