summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerin Millar <kfm@plushkava.net>2024-08-16 08:09:09 +0100
committerKerin Millar <kfm@plushkava.net>2024-08-22 20:37:46 +0100
commitaabfa913c30b184e7a2a89156aafb5e281ea4c27 (patch)
tree52a974c0957549e0ad393bcb8cf34fe4a5955fa2
parentHave whenceforth() work around a word splitting bug in OpenBSD sh (diff)
downloadgentoo-functions-aabfa913c30b184e7a2a89156aafb5e281ea4c27.tar.gz
gentoo-functions-aabfa913c30b184e7a2a89156aafb5e281ea4c27.tar.bz2
gentoo-functions-aabfa913c30b184e7a2a89156aafb5e281ea4c27.zip
Move an SC2317 exemption closer to where it is needed
Signed-off-by: Kerin Millar <kfm@plushkava.net>
-rw-r--r--functions.sh2
1 files changed, 1 insertions, 1 deletions
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