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
|
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
|
||||||
|
|
Loading…
Reference in New Issue