diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/geom/core/geom.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/geom/core/geom.c b/sbin/geom/core/geom.c index 126c2eb..b8c0488 100644 --- a/sbin/geom/core/geom.c +++ b/sbin/geom/core/geom.c @@ -736,6 +736,8 @@ std_list(struct gctl_req *req, unsigned flags __unused) } } else { LIST_FOREACH(gp, &classp->lg_geom, lg_geom) { + if (LIST_EMPTY(&gp->lg_provider)) + continue; show_one_geom(gp); } } |