Commit 533c66e8 authored by Adrian Rossouw's avatar Adrian Rossouw

Add back the isolation from install time errors, passing back the login link.

parent 8e9f5686
......@@ -51,9 +51,13 @@ function drush_provision_drupal_provision_install() {
drush_include_engine('drupal', 'install');
#provision_backend_invoke(d()->name, "provision-install-backend");
// call a backend task to do the actual installation.
$result = provision_backend_invoke(d()->name, "provision-install-backend");
// pass the login link back to the front end.
drush_set_option('login_link', $result['context']['login_link']);
drush_set_option('installed', TRUE, 'site');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment