fix nightly logrotate postrotate script cron error

Change-Id: I9ece3cdda9bfe72eaf76241cf0b4edaadf29af73