---
 builder/cache.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builder/cache.ml b/builder/cache.ml
index 9e69bc1..86ac41b 100644
--- a/builder/cache.ml
+++ b/builder/cache.ml
@@ -35,7 +35,7 @@ type t = {
 
 let create ~verbose ~directory =
   if not (is_directory directory) then
-    mkdir directory 0o755;
+    mkdir_p directory 0o755;
   {
     verbose = verbose;
     directory = directory;
-- 
2.1.0

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to