Commit 302a3e1a authored by anarcat's avatar anarcat Committed by anarcat

correctly report the site as *not* found if not installed

parent be43a616
......@@ -12,7 +12,7 @@
function provision_drupal_provision_backup_validate($url = NULL, $backup_file = NULL) {
drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_SITE);
if (!drush_get_option('installed')) {
drush_set_error('PROVISION_DRUPAL_SITE_FOUND');
drush_set_error('PROVISION_DRUPAL_SITE_NOT_FOUND');
}
// This is the actual drupal provisioning requirements.
......
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