]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - config.c
Help: use an array to choose which help matches which mode.
[thirdparty/mdadm.git] / config.c
index 6027b2f321e9a17a18e24cdaa5dbcb4fcb49bf81..d8f48e132455ce4b6fd8d7853ffa88a795329a18 100644 (file)
--- a/config.c
+++ b/config.c
@@ -1045,7 +1045,7 @@ struct mddev_ident *conf_match(struct supertype *st,
                                        array_list->devname);
                        continue;
                }
-               if (array_list->devices &&
+               if (array_list->devices && devname &&
                    !match_oneof(array_list->devices, devname)) {
                        if (verbose >= 2 && array_list->devname)
                                fprintf(stderr, Name