From nobody Thu Jan 09 14:22:44 2025 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 4YTRnw3DlQz5ktM0; Thu, 09 Jan 2025 14:22:44 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YTRnw2dbQz44lr; Thu, 9 Jan 2025 14:22:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736432564; 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=5lt5PZMpdemj5wFSPAcn89sc9S0mn/bCnVP3M+MWe+A=; b=TwX8h4ke2Qs5IcXQg3AcX6Uu5i+8dadZEgrzPZxEMwkVhx5WaOsJOutucDNm71qmiY4UK1 0kGtx66hIHhIsNDA2vkd1ZBwLMwyH7PrvPRYZEphd8a9GNYw0obZ8bdN8jFLWzhqCPDXDD sKeACIk7sU4ear0/fgloO+muepJ8FMAnZUQPEt4puSYz4cjxRDfCW0qNZ066WRT5DC7NcT SVm8gaDsNnaYKG+9OhqRTvCD+14/vFca5N1cevrRz+UTz0eL/me5HmrTfVes6+JX3J9/uT /8qQgJu+zQeTyHcRfIIM+/Mu2D6zUNPTUra/KemS60Ks5ICUF8O3eusz1y8aOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736432564; 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=5lt5PZMpdemj5wFSPAcn89sc9S0mn/bCnVP3M+MWe+A=; b=Bhj7G7BSXN+LOVSYD/JYTHyNae8lHdP5tHdxEbD8NpPc0HCipy1KEY8q03ZD9bcwpFVtZR JMbbI8cbtueJe88ngg2IXLdhIpQBOPPsHfPAYN1OiRByRNXv9cHLyYkdZbRe+ZQolgvbXU aRe8zMeZT5jHDo9IwAuhltA0xNv+sTAj4MHG2WBptnB4CmVOhCCxF66X8mq7PODmX9RMv4 rdndbRPxntb1pR6jLwesWA59r6DJqQFV44iMhMh8mWrygL1xs+M0YX3RrcD0ue4S4r0g2p 05AQCjB0MggrcKmw7Gsw/qXHhssdlSwObs8i95bD27RMSfhfn+IZ8l8Mx0/oMA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736432564; a=rsa-sha256; cv=none; b=jD1z94bnu2cC7DOOhNXVyQBG6z8a6bun0yWZEVSh8DMZserf6Xqd9kup+/qkN5k6M4b7Ud b88y3AOTitG/kBpjXmhqcjcY8c7Gr9Kc1eD4v8z2LI/7PCGNyiUWqP+8gTiiMZOV/vl8Gw RB9ywgKv842AgIra0t5JBKzJgpapsd1qrnQ17rpnq4OLtwVgEGMR5T5joAgakzygaNoxRT 7009AnwtrH3RM29ja5/nymvWAytiuQHucPlUWXmnMeCIcGxkM3mdg9m3qKrFlUmp/pdbo5 Lvfj4KZ3geXObiLU89VFIlXD0sEZVjYhDWg96f6B+5FnIR/HWw25FqSISvdBuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YTRnw1vDtzVG3; Thu, 09 Jan 2025 14:22:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 509EMi2L090052; Thu, 9 Jan 2025 14:22:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 509EMiam090049; Thu, 9 Jan 2025 14:22:44 GMT (envelope-from git) Date: Thu, 9 Jan 2025 14:22:44 GMT Message-Id: <202501091422.509EMiam090049@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Renato Botelho Subject: git: 19a6bc9f51e5 - main - fwget: Silence log() when -q is used 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: garga X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 19a6bc9f51e5c5705a2b396b0da61e6536acb4cb Auto-Submitted: auto-generated The branch main has been updated by garga: URL: https://cgit.FreeBSD.org/src/commit/?id=19a6bc9f51e5c5705a2b396b0da61e6536acb4cb commit 19a6bc9f51e5c5705a2b396b0da61e6536acb4cb Author: Renato Botelho AuthorDate: 2025-01-09 12:16:10 +0000 Commit: Renato Botelho CommitDate: 2025-01-09 14:21:11 +0000 fwget: Silence log() when -q is used Summary: Silence log function when -q parameter is used to prevent undesired output PR: 283939 Reviewed By: manu Differential Revision: https://reviews.freebsd.org/D48391 Sponsored by: Rubicon Communications, LLC ("Netgate") --- usr.sbin/fwget/fwget.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.sbin/fwget/fwget.sh b/usr.sbin/fwget/fwget.sh index 3e2181e53b73..d87cd03aa139 100755 --- a/usr.sbin/fwget/fwget.sh +++ b/usr.sbin/fwget/fwget.sh @@ -47,7 +47,9 @@ EOF log() { - echo "$@" + if [ "${QUIET}" != "y" ]; then + echo "$@" + fi } log_verbose()