logrotate and xpilot-ng-server script error



I'm getting daily logrotate errors mailed to root for xpilot-ng-server.

The email message says:
/etc/cron.daily/logrotate:

error: xpilot-ng-server:5 unknown option 'endscript' -- ignoring line


The file /etc/logrotate.d/xpilot-ng-server looks like this:
/var/log/xpilotd.log {
copytruncate
notifempty
missingok
endscript
}


Other logrotate scripts have "endscript" without a problem.

.



Relevant Pages