Skip to content

Commit

Permalink
Fix regression to verbose behavior introduced in 68bff4a.
Browse files Browse the repository at this point in the history
Reported by:    Brad Davis (brd)
Reviewed by:    Kristof Provost (kp)
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D32736
Sponsored by:   Netflix
  • Loading branch information
Kirk McKusick authored and Kirk McKusick committed Nov 11, 2021
1 parent 811d054 commit e38717c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/geom/core/geom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e38717c

Please sign in to comment.