summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mapfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mapfile.c b/mapfile.c
index b890ed2b..70ff3558 100644
--- a/mapfile.c
+++ b/mapfile.c
@@ -404,6 +404,8 @@ void RebuildMap(void)
if (ok != 0)
continue;
info = st->ss->container_content(st, subarray);
+ if (!info)
+ continue;
if (md->devnum >= 0)
path = map_dev(MD_MAJOR, md->devnum, 0);