Skip to content

Commit

Permalink
Avoid bootstrap when --db-spec is sent.
Browse files Browse the repository at this point in the history
This is how db-url option already works.
  • Loading branch information
weitzman committed Aug 28, 2013
1 parent 2eccbfd commit 75bf8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/sql/sql.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ function sql_sql_sync_complete() {
* Check whether further bootstrap is needed. If so, do it.
*/
function drush_sql_bootstrap_further() {
if (!drush_get_option('db-url')) {
if (!drush_get_option(array('db-url', 'db-spec'))) {
drush_bootstrap_max(DRUSH_BOOTSTRAP_DRUPAL_CONFIGURATION);
}
}
Expand Down

0 comments on commit 75bf8b0

Please sign in to comment.