lyda / chkcrontab

A tool for checking system crontab files (/etc/crontab and /etc/cron.d normally) for errors and common mistakes.
Other
58 stars 22 forks source link

The chkcrontab script doesn't exit with the proper error code #2

Closed drye closed 12 years ago

drye commented 12 years ago

What steps will reproduce the problem?

  1. run chkcrontab on an erroneous crontab file
  2. echo $?

The script should exit with the status 2, instead it exists with the status 0.

This pull requests fixes this issue.

lyda commented 12 years ago

Thanks for this, sorry about the delay.