lib: Add guestfs___remove_tmpdir helper function.
[libguestfs.git] / src / appliance.c
index 836e679..5f77a56 100644 (file)
@@ -534,7 +534,7 @@ build_supermin_appliance (guestfs_h *g,
     return -1;
   }
 
-  rmdir (tmpcd);
+  guestfs___remove_tmpdir (tmpcd);
 
   /* Now finish off by linking to the cached appliance and returning it. */
   if (hard_link_to_cached_appliance (g, cachedir,