esx: Don't warn about '/' paths

This commit is contained in:
Matthias Bolte 2009-11-23 23:26:31 +01:00
parent 1e93e37bbf
commit a5d8d265a2

View File

@ -293,7 +293,7 @@ esxOpen(virConnectPtr conn, virConnectAuthPtr auth, int flags ATTRIBUTE_UNUSED)
return VIR_DRV_OPEN_DECLINED;
}
if (conn->uri->path != NULL) {
if (conn->uri->path != NULL && STRNEQ(conn->uri->path, "/")) {
VIR_WARN("Ignoring unexpected path '%s' in URI", conn->uri->path);
}