You are here

function coder_review_drush_exit in Coder 7.2

Implements hook_drush_exit().

Force coder to exit with a shell exit code. Drush does not support this natively.

File

coder_review/coder_review.drush.inc, line 577
Command line utility support for Coder_review module.

Code

function coder_review_drush_exit() {
  $exitcode = _coder_review_exit();
  if ($exitcode != 1) {
    exit($exitcode);
  }
}