summaryrefslogtreecommitdiffstats
path: root/mdadm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdadm.c')
-rw-r--r--mdadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdadm.c b/mdadm.c
index f37797a..2583ee2 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -877,7 +877,7 @@ int main(int argc, char *argv[])
fprintf(stderr, Name ": --super-minor=dev is incompatible with --auto\n");
exit(2);
}
- if (mode == MANAGE && runstop < 0)
+ if (mode == MANAGE || mode == GROW)
autof=1; /* Don't create */
mdfd = open_mddev(devlist->devname, autof);
if (mdfd < 0)