function drush_return_status

8.0.x preflight.inc drush_return_status()
6.x bootstrap.inc drush_return_status()
7.x preflight.inc drush_return_status()
3.x drush.php drush_return_status()
4.x drush.php drush_return_status()
5.x bootstrap.inc drush_return_status()
master preflight.inc drush_return_status()
1 string reference to 'drush_return_status'
drush_shutdown in includes/bootstrap.inc
Shutdown function for use while Drupal is bootstrapping and to return any registered errors.

File

includes/bootstrap.inc, line 1155
Drush bootstrapping code.

Code

function drush_return_status() {
  exit((drush_get_error()) ? DRUSH_FRAMEWORK_ERROR : DRUSH_SUCCESS);
}