14 lines
441 B
Diff
14 lines
441 B
Diff
diff --git a/Assemble.c b/Assemble.c
|
|
index e4d6181..23cc438 100644
|
|
--- a/Assemble.c
|
|
+++ b/Assemble.c
|
|
@@ -434,7 +434,7 @@ int Assemble(struct supertype *st, char *mddev,
|
|
}
|
|
}
|
|
st = tst; tst = NULL;
|
|
- if (!auto_assem && tmpdev->next != NULL) {
|
|
+ if (!auto_assem && inargv && tmpdev->next != NULL) {
|
|
fprintf(stderr, Name ": %s is a container, but is not "
|
|
"only device given: confused and aborting\n",
|
|
devname);
|