esx: Don't warn about an empty URI path
This commit is contained in:
parent
44112bce89
commit
b0367e86ee
@ -293,7 +293,8 @@ esxOpen(virConnectPtr conn, virConnectAuthPtr auth, int flags ATTRIBUTE_UNUSED)
|
|||||||
return VIR_DRV_OPEN_DECLINED;
|
return VIR_DRV_OPEN_DECLINED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (conn->uri->path != NULL && STRNEQ(conn->uri->path, "/")) {
|
if (conn->uri->path != NULL && STRNEQ(conn->uri->path, "") &&
|
||||||
|
STRNEQ(conn->uri->path, "/")) {
|
||||||
VIR_WARN("Ignoring unexpected path '%s' in URI", conn->uri->path);
|
VIR_WARN("Ignoring unexpected path '%s' in URI", conn->uri->path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user