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
@@ -2180,6 +2180,7 @@ static int run(int argc, char *argv[]) {
DISSECT_IMAGE_FSCK |
DISSECT_IMAGE_GROWFS,
&unlink_dir,
/* ret_dir_fd= */ NULL,
&loop_device);
if (r < 0)
return r;