summaryrefslogtreecommitdiffstats
path: root/Assemble.c
diff options
context:
space:
mode:
Diffstat (limited to 'Assemble.c')
-rw-r--r--Assemble.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Assemble.c b/Assemble.c
index 20c4be7..2eec5d2 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -1091,6 +1091,7 @@ int Assemble(struct supertype *st, char *mddev,
fprintf(stderr, ".\n");
}
close(mdfd);
+ wait_for(mddev);
if (auto_assem) {
int usecs = 1;
/* There is a nasty race with 'mdadm --monitor'.