Skip to content

Commit 3d3d428

Browse files
committed
Avoid bootstrap when --db-spec is sent.
This is how db-url option already works.
1 parent 327a8d3 commit 3d3d428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/sql/sql.drush.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ function sql_sql_sync_complete() {
265265
* Check whether further bootstrap is needed. If so, do it.
266266
*/
267267
function drush_sql_bootstrap_further() {
268-
if (!drush_get_option('db-url')) {
268+
if (!drush_get_option(array('db-url', 'db-spec'))) {
269269
drush_bootstrap_max(DRUSH_BOOTSTRAP_DRUPAL_CONFIGURATION);
270270
}
271271
}

0 commit comments

Comments
 (0)