If logrotate.conf has a line like 'rotate 5 ' (without the ' chars)
logrotate complains that '5 ' is bad rotation count.
The problem seems to be in config.c use of strtoul to parse the value.
Steps to Reproduce:
1. add space after rotate 'number' to logrotate.conf
2. try to run logrotate
This is fixed in the latest logrotate