summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mdadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdadm.c b/mdadm.c
index c44c432..e01beec 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -1646,7 +1646,7 @@ int main(int argc, char *argv[])
}
} else if (bitmap_file) {
if (size >= 0 || raiddisks || chunk ||
- layout_str != NULL || devs_found) {
+ layout_str != NULL || devs_found > 1) {
fprintf(stderr, Name ": --bitmap changes cannot be "
"used with other geometry changes "
"in --grow mode\n");