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
This commit is contained in:
Kirk McKusick 2021-11-11 12:10:28 -08:00
parent 811d05449b
commit e38717c128

View File

@ -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);