--- front_page-6.x-2.0-rc1.module 2012-11-21 10:12:29.000000000 -0500 +++ front_page.module 2012-11-21 10:14:12.000000000 -0500 @@ -91,6 +91,13 @@ function front_page_perm() { function front_page_init() { global $_front_page, $conf; + // If this function is called by PHP CLI (drush), do not do anything. + if (function_exists('drush_verify_cli')) { + if (drush_verify_cli()) { + return; + } + } + // let administrator know that there is a config error. if (variable_get('site_frontpage', '') == 'front_page' && user_access('administer menu')) { drupal_set_message(t('There is a configuration error. The home page should not be set to the path "front_page". Please change this !link', array('!link' => l(t('here'), 'admin/settings/site-information'))), 'error');