]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
esx: Don't warn about '/' paths
authorMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 23 Nov 2009 22:26:31 +0000 (23:26 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 18 Dec 2009 18:29:39 +0000 (19:29 +0100)
src/esx/esx_driver.c

index db45b1b9d929c56c8a2a571b07cf705734d7ad22..66fdf13a1b7605a10768d895a48af2d53c370f1e 100644 (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);
     }