git: e38717c1282f - main - Fix regression to verbose behavior introduced in 68bff4a07e.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Nov 2021 20:11:50 UTC
The branch main has been updated by mckusick: URL: https://cgit.FreeBSD.org/src/commit/?id=e38717c1282f8bc8b16389839bea015359413df8 commit e38717c1282f8bc8b16389839bea015359413df8 Author: Kirk McKusick <mckusick@FreeBSD.org> AuthorDate: 2021-11-11 20:10:28 +0000 Commit: Kirk McKusick <mckusick@FreeBSD.org> CommitDate: 2021-11-11 20:11:25 +0000 Fix regression to verbose behavior introduced in 68bff4a07e. Reported by: Brad Davis (brd) Reviewed by: Kristof Provost (kp) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D32736 Sponsored by: Netflix --- 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);