When starting docker raise proper error if ubridge is not available

Fix #484
This commit is contained in:
Julien Duponchelle committed 2016-04-08 16:13:42 +02:00
1 parent ec6e5a6118
commit ae5468a2d3
1 file changed
+1 -1
+1 -1
View File
@@ -403,7 +403,7 @@ class BaseVM:
if path == "ubridge":
path = shutil.which("ubridge")
if path is None:
if path is None or len(path) == 0:
raise VMError("uBridge is not installed")
return path