dissect-image: Return mount point fd if requested

This commit is contained in:
Daan De Meyer
2023-02-17 14:58:55 +01:00
parent 6aa90884a0
commit a133d2c366
13 changed files with 23 additions and 1 deletions
+1
View File
@@ -881,6 +881,7 @@ static int process_image(
DISSECT_IMAGE_GENERIC_ROOT |
DISSECT_IMAGE_REQUIRE_ROOT,
&mounted_dir,
/* ret_dir_fd= */ NULL,
&loop_device);
if (r < 0)
return r;