function drush_user_abort

6.x drush_user_abort($msg = NULL)
7.x drush_user_abort($msg = NULL)
4.x drush_user_abort($msg = NULL)
5.x drush_user_abort($msg = NULL)
master drush_user_abort($msg = NULL)

Exit due to user declining a confirmation prompt.

Usage: return drush_user_abort();

Related topics

22 calls to drush_user_abort()
drush_core_help in commands/core/
Command callback for help command. This is the default command, when none other has been specified.
drush_core_pre_site_install in commands/core/
Perform setup tasks for installation.
drush_core_rsync in commands/core/
Entrypoint for drush rsync.
drush_core_search_index in commands/core/
drush_core_search_reindex in commands/core/

... See full list


includes/, line 2841
The drush API implementation and helpers.


function drush_user_abort($msg = NULL) {
  drush_set_context('DRUSH_USER_ABORT', TRUE);
  drush_log($msg ? $msg : dt('Aborting.'), 'cancel');
  return FALSE;