mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-22 06:07:51 +00:00
When starting docker raise proper error if ubridge is not available
Fix #484
This commit is contained in:
parent
ec6e5a6118
commit
ae5468a2d3
@ -403,7 +403,7 @@ class BaseVM:
|
|||||||
if path == "ubridge":
|
if path == "ubridge":
|
||||||
path = shutil.which("ubridge")
|
path = shutil.which("ubridge")
|
||||||
|
|
||||||
if path is None:
|
if path is None or len(path) == 0:
|
||||||
raise VMError("uBridge is not installed")
|
raise VMError("uBridge is not installed")
|
||||||
return path
|
return path
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user