mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-23 23:38:21 +00:00
Change message when VMware is not installed on Linux. Ref #326.
This commit is contained in:
parent
ac75977ae0
commit
b53f0e89ce
@ -170,11 +170,10 @@ class VMware(BaseManager):
|
||||
else:
|
||||
if sys.platform.startswith("darwin"):
|
||||
return # FIXME: no version checking on Mac OS X
|
||||
else:
|
||||
vmware_path = VMware._get_linux_vmware_binary()
|
||||
|
||||
vmware_path = VMware._get_linux_vmware_binary()
|
||||
if vmware_path is None:
|
||||
raise VMwareError("VMware is not installed (vmware executable could not be found in $PATH)")
|
||||
raise VMwareError("VMware is not installed (vmware or vmplayer executable could not be found in $PATH)")
|
||||
|
||||
try:
|
||||
output = yield from subprocess_check_output(vmware_path, "-v")
|
||||
|
Loading…
Reference in New Issue
Block a user