mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
esx: Don't warn about an empty URI path
This commit is contained in:
@@ -293,7 +293,8 @@ esxOpen(virConnectPtr conn, virConnectAuthPtr auth, int flags ATTRIBUTE_UNUSED)
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user