summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Gervais2013-08-29 14:28:30 (GMT)
committerChristopher Gervais2013-08-29 14:29:49 (GMT)
commit3b5e35d083f1c85e007bfc76984d3868d614ce04 (patch)
tree0e01cbaf5f483a84d942952bc4b2f734425bd80d
parent256db42659ae6476aa1d7169d42de9c98bef672c (diff)
Use consistently in hostmaster install.
-rw-r--r--install.hostmaster.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.hostmaster.inc b/install.hostmaster.inc
index b684355..83f4813 100644
--- a/install.hostmaster.inc
+++ b/install.hostmaster.inc
@@ -165,7 +165,7 @@ function drush_provision_hostmaster_install($site = NULL) {
);
$master_db = sprintf("mysql://%s:%s@%s:%s", urlencode($aegir_db_user), urlencode($aegir_db_pass), $aegir_db_host, $aegir_db_port);
- if (drush_get_option('aegir_host') == $aegir_db_host) {
+ if ($aegir_http_host == $aegir_db_host) {
$master_context['db_service_type'] = 'mysql';
$master_context['master_db'] = $master_db;
$dbserver = $server;