providers/virtualbox: only clear shared folders if we have a VM
This commit is contained in:
parent
dbfce21e05
commit
0d02ada43b
|
@ -62,7 +62,7 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
def cleanup(machine)
|
||||
driver(machine).clear_shared_folders
|
||||
driver(machine).clear_shared_folders if machine.id && machine.id != ""
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Loading…
Reference in New Issue