Displaying 1 result from an estimated 1 matches for "9c34463".
2016 Mar 02
1
[PATCH] daemon: do not fail list-disk-labels w/o labels set
...pens when
+ * there are no labels set. In this case, act as if the directory
+ * was empty.
+ */
+ return empty_list ();
+ }
reply_with_perror ("opendir: %s", GUESTFSDIR);
return NULL;
}
diff --git a/generator/actions.ml b/generator/actions.ml
index 9c34463..287d7f5 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -11336,6 +11336,18 @@ silently create an ext2 filesystem instead." };
name = "list_disk_labels"; added = (1, 19, 49);
style = RHashtable "labels", [], [];
proc_nr = Some 369;
+ tests...