Commit 48aec57a authored by anarcat's avatar anarcat Committed by anarcat

remove last remaining status cruft

Closes: #275511
parent 1dc434f3
......@@ -47,7 +47,7 @@ function provision_drupal_provision_install($url) {
* If the install went south, and the site is not PROVISION_SITE_INSTALLED, clean up behind ourselves
*/
function provision_drupal_provision_install_rollback($url) {
if (!(drush_get_error() & PROVISION_SITE_INSTALLED)) {
if (!drush_cmp_error('PROVISION_SITE_INSTALLED')) {
if ($url) {
_provision_recursive_delete("sites/$url");
} else {
......
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