core: When disabling, only disable the proper folders

This commit is contained in:
Mitchell Hashimoto 2014-04-16 16:19:05 -07:00
parent 05572955f6
commit af7f55f47e
1 changed files with 2 additions and 2 deletions

View File

@ -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