From 8b495114eaa23f448a0a5c5b34d7495880d2e2b8 Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Thu, 11 Nov 2021 12:10:28 -0800 Subject: [PATCH] Allow GEOM utilities to specify a -v option. Follow up for 3c8192eb8267 (cherry picked from commit e38717c1282f8bc8b16389839bea015359413df8) --- sbin/geom/core/geom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/geom/core/geom.c b/sbin/geom/core/geom.c index 2e0d8683df49..0202be9a063e 100644 --- a/sbin/geom/core/geom.c +++ b/sbin/geom/core/geom.c @@ -445,7 +445,7 @@ set_flags(struct g_command *cmd) { unsigned flags = 0; - if ((cmd->gc_flags & G_FLAG_VERBOSE) != 0) + if ((cmd->gc_flags & G_FLAG_VERBOSE) != 0 && verbose) flags |= G_FLAG_VERBOSE; return (flags);