From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B501A158090 for ; Sat, 5 Oct 2024 04:15:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 685D7E29E7; Sat, 5 Oct 2024 04:15:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E652E29E8 for ; Sat, 5 Oct 2024 04:15:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 38E47342FF8 for ; Sat, 5 Oct 2024 04:15:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A633A27F6 for ; Sat, 5 Oct 2024 04:15:22 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1724355466.aabfa913c30b184e7a2a89156aafb5e281ea4c27.sam@gentoo> Subject: [gentoo-commits] proj/gentoo-functions:master commit in: / X-VCS-Repository: proj/gentoo-functions X-VCS-Files: functions.sh X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: aabfa913c30b184e7a2a89156aafb5e281ea4c27 X-VCS-Branch: master Date: Sat, 5 Oct 2024 04:15:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1100d3c7-d701-4df3-8880-ddea6ed72a12 X-Archives-Hash: 9586993906522162433529c5a399b715 commit: aabfa913c30b184e7a2a89156aafb5e281ea4c27 Author: Kerin Millar plushkava net> AuthorDate: Fri Aug 16 07:09:09 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Aug 22 19:37:46 2024 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=aabfa913 Move an SC2317 exemption closer to where it is needed Signed-off-by: Kerin Millar plushkava.net> functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index 1a87100..bd96df6 100644 --- a/functions.sh +++ b/functions.sh @@ -836,11 +836,11 @@ fi # whether fewer have elapsed since the last occasion on which the function was # called, or whether the last genfun_time update resulted in integer overflow. # -# shellcheck disable=2317 _should_throttle() { _update_time || return + # shellcheck disable=2317 _should_throttle() { _update_time || return