Commit 87399ee9 authored by anarcat's avatar anarcat Committed by anarcat
Browse files

abort properly if no site name is provided to the installer

parent 0c267d76
......@@ -5,6 +5,10 @@
function drush_provision_hostmaster_install($site) {
if (!$site) {
return drush_set_error('SITE_MISSING', dt('You need to specify the FQDN of the hostmaster install'));
$version = drush_get_option('version', 'HEAD');
$platform = drush_get_option(array('r', 'root'), drush_server_home() . '/' . 'hostmaster-' . $version);
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