From af7f55f47e994fc2fb19bb4fbc3285657f615d39 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 16 Apr 2014 16:19:05 -0700 Subject: [PATCH] core: When disabling, only disable the proper folders --- lib/vagrant/action/builtin/synced_folders.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/action/builtin/synced_folders.rb b/lib/vagrant/action/builtin/synced_folders.rb index 39f55c869..aef6d0e71 100644 --- a/lib/vagrant/action/builtin/synced_folders.rb +++ b/lib/vagrant/action/builtin/synced_folders.rb @@ -99,10 +99,10 @@ module Vagrant end @logger.info("Invoking synced folder disable: #{impl_name}") - fs.each do |id, _| + to_disable.each do |id, _| @logger.info(" - Disabling: #{id}") end - impl.disable(env[:machine], fs, impl_opts(impl_name, env)) + impl.disable(env[:machine], to_disable, impl_opts(impl_name, env)) end # If we disabled folders, we have to delete some from the