providers/virtualbox: only clear shared folders if we have a VM

This commit is contained in:
Mitchell Hashimoto 2013-12-05 13:39:23 -08:00
parent dbfce21e05
commit 0d02ada43b
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ module VagrantPlugins
end end
def cleanup(machine) def cleanup(machine)
driver(machine).clear_shared_folders driver(machine).clear_shared_folders if machine.id && machine.id != ""
end end
protected protected