summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Beaupré2009-05-12 21:31:08 (GMT)
committeranarcat2009-05-12 21:31:08 (GMT)
commit3d65c19fa8786cbed322ed0b0c2b6e8987d85150 (patch)
treedfddea6dec9bd1b074cb0f0fd5be9d484f95590f
parentd0429218c3e1aaaefe87db520ca4718cee3adb69 (diff)
fix a typo: properly set force option before backing up in disable6.x-0.2-beta1
Closes: #458250
-rw-r--r--platform/disable.provision.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/disable.provision.inc b/platform/disable.provision.inc
index 80c17ec..acd0cb1 100644
--- a/platform/disable.provision.inc
+++ b/platform/disable.provision.inc
@@ -23,7 +23,7 @@ function drush_provision_drupal_provision_disable_validate() {
* Make a backup of the site before we mess with it
*/
function drush_provision_drupal_pre_provision_disable($url, $backup_file = null) {
- drush_get_option('force', true, 'process');
+ drush_set_option('force', true, 'process');
drush_invoke("provision backup", $url, $backup_file);
drush_unset_option('force', 'process');
}