core: When disabling, only disable the proper folders
This commit is contained in:
parent
05572955f6
commit
af7f55f47e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue