From nobody Tue Nov 23 23:05:18 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EEC56189C54A; Tue, 23 Nov 2021 23:05:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HzKVQ3vXWz3rWQ; Tue, 23 Nov 2021 23:05:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5F1A21F260; Tue, 23 Nov 2021 23:05:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1ANN5IE7023731; Tue, 23 Nov 2021 23:05:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1ANN5IE0023730; Tue, 23 Nov 2021 23:05:18 GMT (envelope-from git) Date: Tue, 23 Nov 2021 23:05:18 GMT Message-Id: <202111232305.1ANN5IE0023730@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kirk McKusick Subject: git: 8b495114eaa2 - stable/13 - Allow GEOM utilities to specify a -v option. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mckusick X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 8b495114eaa23f448a0a5c5b34d7495880d2e2b8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637708718; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fVyntxlaOPsfaifLvY0fkSmq8iYGBdZCfrrPSPdPjOY=; b=F29gBS+BqQ3CzkB2VPf/c65XAOLI7FV99fDHEotltvFQr+iv8t4FeIZFwUkRZZvY3nybzJ PMGiLMBiAvnNuNLzJVe4RGk8atWzrLGxbh6tkouYMVSxLifEXnV1V7icTy2EelUD9Z3psp 2wOY4t/9N8m/FA3Hw36pWDXh/sG024+bPd27AFqqv/05y1KN8K+EDxH53ZVG9AVgGqXPzt IkJ6cmtmyHOaXmE8Z7D7oaFr3xMjKdysyGek8rkmFJlOFHq0YvVfEm7Tft9zy+LW8FkRy8 vCEWvI82dhVaxMVaKAVZAlqVF1C7PwEkQ4vhi0SA1eY4+18t3GWYGIPzgphgUA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637708718; a=rsa-sha256; cv=none; b=KiftHRx6hCbI906akAaffMydjhv2AsRaJ973n1FD4r7HdvC+NsYIlJR/YlyGtZCMa6zeTw KzHA2hlvWykbMQoy/uh2UlgS8s21Uj0XNppEF/ojVPpMkxFHrBkuUYtRBlFETGrupWJbRX DWztljUs2/8TcdqIv6wa9pmz/ZwyBzOT9caqHnfYGFO9XR4oc2g5nKCCKbmt5ZwWOacUyl o6sLaseDImXtMwVHSRFXk+bzooxOpSxwxIgOHpUIrGIQ6shrKETbdMDYdNWzrFzojISe1z skdIlaSfGG+a/W4cfDLpX+gdWCjyzu9bgOfewuBUyfo0mFNz0Gjqr5LFX1JBXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mckusick: URL: https://cgit.FreeBSD.org/src/commit/?id=8b495114eaa23f448a0a5c5b34d7495880d2e2b8 commit 8b495114eaa23f448a0a5c5b34d7495880d2e2b8 Author: Kirk McKusick AuthorDate: 2021-11-11 20:10:28 +0000 Commit: Kirk McKusick CommitDate: 2021-11-23 23:04:33 +0000 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);