summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Detail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Detail.c b/Detail.c
index 0ed81d1..7e14163 100644
--- a/Detail.c
+++ b/Detail.c
@@ -377,12 +377,12 @@ This is pretty boring
if (brief > 1 && devices) printf("\n devices=%s", devices);
if (brief) printf("\n");
-out:
if (test &&
!enough(array.level, array.raid_disks, array.layout,
1, avail, avail_disks))
rv = 2;
+out:
close(fd);
return rv;
}