[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH] Don't abort inspection if mdadm.conf ARRAY doesn't have a uuid



---
 src/inspect_fs_unix.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/inspect_fs_unix.c b/src/inspect_fs_unix.c
index 1ef4ca4..5695adc 100644
--- a/src/inspect_fs_unix.c
+++ b/src/inspect_fs_unix.c
@@ -1113,7 +1113,7 @@ map_md_devices(guestfs_h *g, Hash_table **map)
     free(uuid_path);
     if (!uuid) {
       free(dev);
-      goto error;
+      continue;
     }
 
     /* Parse the uuid into an md_uuid structure so we can look it up in the
-- 
1.7.10


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]