mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-13 20:08:55 +00:00
Fix problem when searching for VBoxManage. Fixes #1261.
This commit is contained in:
parent
97cfb892a6
commit
8b1c68a0b7
@ -78,7 +78,7 @@ class VirtualBox(BaseManager):
|
||||
if not vboxmanage_path:
|
||||
vboxmanage_path = shutil.which("vboxmanage")
|
||||
|
||||
if not os.path.exists(vboxmanage_path):
|
||||
if vboxmanage_path and not os.path.exists(vboxmanage_path):
|
||||
log.error("VBoxManage path '{}' doesn't exist".format(vboxmanage_path))
|
||||
|
||||
if not vboxmanage_path:
|
||||
|
Loading…
Reference in New Issue
Block a user